Phox Elements
PRIVACY Spam-safe contact details for Breakdance

Show your email and phone without feeding spam bots

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.

Five content types Reveal, click or copy Three protection levels
Live demos

Contact details that scrapers cannot read

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 rows

A contact card for a restaurant

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.

The Corner TableBookings and private dining
•••••
•••••
Buttons

Reveal and copy buttons

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

A guest Wi-Fi password

Custom Text with Click to Reveal and Maximum protection. The password in this demo is made up: demo-only-1234.

NetworkCornerTable-Guest
Protection levels

The same email address at three levels

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.

Basic
elpmaxe.elbatrenroc@olleh
data-pc-a="elpmaxe.elbatrenroc@olleh"

The address reversed. It also shows correctly without JavaScript.

Balanced
•••••
data-pc-a="aGVsbG9AY29ybmVydG"
data-pc-b="FibGUuZXhhbXBsZQ=="

Encoded and split across two attributes.

Maximum
•••••
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.

How it works

Three steps to a protected contact

No shortcodes or extra plugins.

1

Add the element

Drop Protected Content onto your page. It is listed as Phox Protected Content in the element panel.

2

Enter the value

Pick the content type and type the email, number, link or text you want to protect.

3

Choose how it shows

Pick an output style, a reveal behaviour and a protection level, then style the text, icon or button.

Features

What it can do

Keep contact details easy for people and hard for bots.

Never in the HTML

The raw value is encoded on the server and rebuilt by JavaScript, so it never appears in the page source.

Five content types

Email address, phone number, WhatsApp link, standard link or custom text.

Real links

Emails become mailto links, phone numbers become tel links and WhatsApp numbers open a wa.me chat.

Click to reveal

Show a label such as "Show our email address" and reveal the value only when it is clicked.

Copy to clipboard

Copy the value with one click and show your own confirmation text.

Three protection levels

Basic reverses the text, Balanced encodes and splits it, Maximum salts it on every load and adds a decoy to email addresses.

Four output styles

Plain text, link, button or a contact row with a round icon.

Accessible

Reveal and copy use real buttons, and the copy confirmation is announced to screen readers.

Works with AJAX content

It checks again for new elements after AJAX loads, such as facet results and quick views.

Use cases

Where it works best

Anywhere you would otherwise paste an email address into the page.

01

Contact pages

List your email, phone and WhatsApp without inviting spam.

02

Footers

Show contact details on every page safely.

03

Team pages

Give each person a protected email link.

04

Guest information

Hide a Wi-Fi password or door code behind a reveal button.

05

Support pages

Let visitors copy a support number with one click.

06

Directories

Protect the contact details of every listing.

Settings reference

Every control, explained

This is the full list of settings in the Breakdance editor, with their default values.

ControlWhat it doesDefault
Content
Content TypeEmail Address, Phone Number, WhatsApp Link, Standard Link or Custom Text.Email Address
Protected ValueThe email, number, URL or text to protect. Never printed in the HTML.—
Display TextOptional label shown instead of the value. For click to reveal and copy, the label on the button.—
IconOptional icon before the text.—
Output StyleText, Link, Button or Contact Row.Text
Reveal BehaviourShow Immediately, Click to Reveal or Copy to Clipboard.Show Immediately
Copied TextConfirmation shown after copying.Copied!
Protection LevelBasic (reversed text), Balanced (encoded and split) or Maximum (salted and decoy).Balanced
Text
TypographyFont settings for the text.—
Color / Hover ColorText colour, and the hover colour for links and buttons.—
Icon
Size / Color / GapIcon size and colour, and the space between icon and text.—
Circle Size / Background / RadiusThe round icon background in the Contact Row style.—
Button
Background / Hover BackgroundButton colours in the Button style.—
Text Color / Hover Text ColorButton text colours.—
Padding / BordersButton spacing, border and radius.—
Spacing
MarginSpace above and below.—
Tips & FAQ

Good to know

Does it stop all spam?

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.

What happens if JavaScript is off?

With Basic protection and Show Immediately, the value still displays correctly. The other levels show a placeholder until JavaScript runs.

Which level should I use?

Balanced suits most sites. Use Maximum for addresses that already get a lot of spam, and Basic if the value must show without JavaScript.

How does the WhatsApp link work?

Enter the number with the country code. The element removes spaces and symbols and links to wa.me with that number.

Can I protect a password or a code?

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.

Why is it called Phox Protected Content in the editor?

That is the element's name in the Breakdance element panel. It is the same element.

Add Protected Content to your next page

Protected Content is included with Phox Elements, along with 140+ other premium elements for Breakdance.