A common question is: “I can still see my email on the page—is protection broken?” The answer depends on how you’re looking. WhoKnew Shield™ encrypts or obfuscates your contact info in the raw HTML that the server sends. So when you use View Source, you should not see your plain email—you’ll see encoded or transformed content instead. If you right-click and Inspect (or Inspect Element), you’re looking at the live DOM after the browser has already decrypted the content to display it—so seeing your email there is expected and does not mean protection failed. This article explains the difference and what to do if you ever see your plain email in View Source.
View Source vs Inspect Element
View Source shows the raw HTML as it was sent from the server—before any JavaScript runs. When protection is on, your email (or phone or address) is encrypted or obfuscated in that HTML. So when you open View Source and search for your address, you should not find the plain text (e.g. you@example.com). You should see something that doesn’t look like a normal email—encoded strings, entities, or other transformed content. That’s protection doing its job: scrapers and bots that fetch the raw HTML (like View Source) don’t get the real address.
Inspect Element (right-click on the page → Inspect, or Inspect Element) shows the live DOM—the page as the browser has built it after scripts have run. To display the link or button to the visitor, the browser has to decrypt or decode the contact info. So in the inspector you may see the plain email or phone there. That’s expected: you’re looking at the page after the browser has already decrypted it. It does not mean Shield failed. Automated scrapers typically don’t run your page in a full browser and then read the DOM; they grab the raw HTML. So protection still works against them. The only way a human could get the address from Inspect is by visiting your page, opening the inspector, and reading it—which is the same as looking at what’s already visible on the screen.
When You Might See Plain Email in View Source
If you use View Source and you do see your exact plain email in the HTML, then that instance is not protected. Common causes:
- Another copy of the email. The address might appear in more than one place—e.g. in the page content (protected) and also in the theme header, a contact form plugin, or a widget that Shield doesn’t process. View source shows the whole HTML; any spot that isn’t in the content Shield scans will still show the plain address. See What Gets Protected (And What Doesn’t) for where auto-detection runs and where you need shortcodes.
- Cached HTML. If the page was cached before you turned on protection (or before you added a shortcode), the cached version may still contain the old, unprotected HTML. Clear your page cache and any CDN cache, then load the page again and check View Source. See Caching and WhoKnew Shield for how to clear caches.
- Protection isn’t on for that content. Confirm Enable Contact Protection is on in Protection Settings and that either auto-detection (with the right type—email, phone, address) is on for that content or you’ve wrapped it in a
[whoknew-shield]shortcode. If the email lives in a theme file or a form plugin’s config, auto-detection won’t see it—use a shortcode where that content is output.
What to Check Step by Step
To verify protection using View Source (not Inspect):
- Confirm Enable Contact Protection is on and you’ve clicked Save Settings.
- If the email is in post/page body or a text widget, ensure Enable Auto-Detection is on and that Email addresses (and in Pro, phones/addresses if needed) are enabled. If it’s in theme code, a form, or somewhere auto-detection doesn’t run, put a
[whoknew-shield type="email"]your@email.com[/whoknew-shield]shortcode where that content is actually output. - Clear page cache and CDN cache, then open the page in a private/incognito window. Use View Source (not Inspect). Search for your exact plain address (e.g.
you@example.com). If it does not appear in the raw HTML, protection is working. If it does appear, that copy is coming from a place Shield isn’t processing—track down that location and protect it with a shortcode or by enabling protection for that output. - For stronger protection, consider Pro’s Military-Grade Protection and Click-to-Reveal so the contact isn’t decoded until the visitor interacts. Scraper Trap (Pro) also blocks bad bots that hit the honeypot, reducing how many even reach your pages.
Tip: Use View Source to verify protection: search for your exact address in the raw HTML. If you don’t find it, you’re protected. If you use Inspect Element and see the email there, that’s after the browser has decrypted it to show the page—expected behavior, not a bug.
Need Help?
For where Shield does and doesn’t run: What Gets Protected (And What Doesn’t). For cache: Caching and WhoKnew Shield. For stronger obfuscation: Military-Grade Protection: What It Is and When to Use It (Pro) and Click-to-Reveal Buttons (Pro).