Protected Content shows an email address, phone number, WhatsApp link, standard link or any text without printing the real value in the page source. The value is encoded on the server and rebuilt in the browser, so visitors see it and scrapers do not.
Every value below is a Protected Content element with made-up details for fictional businesses. Click the reveal buttons and copy the phone number. If you view the page source, the email address and phone numbers are not in it. The Wi-Fi password is, because it is also written out in its note.
Contact Row style with a round icon. Email and phone use Show Immediately. WhatsApp uses Click to Reveal, so the number only appears when a visitor asks for it.
Button style. The first uses Click to Reveal and turns into a real email link. The second uses Copy to Clipboard with the Copied Text set to "Number copied".
Custom Text with Click to Reveal and Maximum protection. The password in this demo is made up: demo-only-1234.
All three show the address to visitors. The code under each one is what a scraper finds in the page source instead of the address.
data-pc-a="elpmaxe.elbatrenroc@olleh"The address reversed. It also shows correctly without JavaScript.
data-pc-a="aGVsbG9AY29ybmVydG"
data-pc-b="FibGUuZXhhbXBsZQ=="Encoded and split across two attributes.
data-pc-s="(new on every load)"
data-pc-a="(scrambled with it)"Salted on every page load, with a hidden decoy address for scrapers.
No shortcodes or extra plugins.
Drop Protected Content onto your page. It is listed as Phox Protected Content in the element panel.
Pick the content type and type the email, number, link or text you want to protect.
Pick an output style, a reveal behaviour and a protection level, then style the text, icon or button.
Keep contact details easy for people and hard for bots.
The raw value is encoded on the server and rebuilt by JavaScript, so it never appears in the page source.
Email address, phone number, WhatsApp link, standard link or custom text.
Emails become mailto links, phone numbers become tel links and WhatsApp numbers open a wa.me chat.
Show a label such as "Show our email address" and reveal the value only when it is clicked.
Copy the value with one click and show your own confirmation text.
Basic reverses the text, Balanced encodes and splits it, Maximum salts it on every load and adds a decoy to email addresses.
Plain text, link, button or a contact row with a round icon.
Reveal and copy use real buttons, and the copy confirmation is announced to screen readers.
It checks again for new elements after AJAX loads, such as facet results and quick views.
Anywhere you would otherwise paste an email address into the page.
List your email, phone and WhatsApp without inviting spam.
Show contact details on every page safely.
Give each person a protected email link.
Hide a Wi-Fi password or door code behind a reveal button.
Let visitors copy a support number with one click.
Protect the contact details of every listing.
This is the full list of settings in the Breakdance editor, with their default values.
| Control | What it does | Default |
|---|---|---|
| Content | ||
| Content Type | Email Address, Phone Number, WhatsApp Link, Standard Link or Custom Text. | Email Address |
| Protected Value | The email, number, URL or text to protect. Never printed in the HTML. | — |
| Display Text | Optional label shown instead of the value. For click to reveal and copy, the label on the button. | — |
| Icon | Optional icon before the text. | — |
| Output Style | Text, Link, Button or Contact Row. | Text |
| Reveal Behaviour | Show Immediately, Click to Reveal or Copy to Clipboard. | Show Immediately |
| Copied Text | Confirmation shown after copying. | Copied! |
| Protection Level | Basic (reversed text), Balanced (encoded and split) or Maximum (salted and decoy). | Balanced |
| Text | ||
| Typography | Font settings for the text. | — |
| Color / Hover Color | Text colour, and the hover colour for links and buttons. | — |
| Icon | ||
| Size / Color / Gap | Icon size and colour, and the space between icon and text. | — |
| Circle Size / Background / Radius | The round icon background in the Contact Row style. | — |
| Button | ||
| Background / Hover Background | Button colours in the Button style. | — |
| Text Color / Hover Text Color | Button text colours. | — |
| Padding / Borders | Button spacing, border and radius. | — |
| Spacing | ||
| Margin | Space above and below. | — |
It stops bots that read the page source for email addresses and phone numbers, which is how most harvesting works. A bot that runs JavaScript like a browser could still read the revealed value.
With Basic protection and Show Immediately, the value still displays correctly. The other levels show a placeholder until JavaScript runs.
Balanced suits most sites. Use Maximum for addresses that already get a lot of spam, and Basic if the value must show without JavaScript.
Enter the number with the country code. The element removes spaces and symbols and links to wa.me with that number.
Yes. Use Custom Text with Click to Reveal. Remember that anyone who can see the page can reveal it, so do not use it for anything secret.
That is the element's name in the Breakdance element panel. It is the same element.
Protected Content is included with Phox Elements, along with 140+ other premium elements for Breakdance.