Releases: meksone/WP-Shadow-Links
Releases · meksone/WP-Shadow-Links
Release list
v0.1.1 — Automatic email obfuscation
What's new
Automatic email obfuscation (no configuration needed)
The plugin now scans post content, excerpts, and widget text before output and obfuscates all email addresses automatically:
<a href="mailto:...">links written in the block editor or any page builder are replaced with Base64-encoded<span>elements. Original link attributes (class,target,title,rel) and inner HTML are preserved.- Plain-text email addresses (e.g.
contact@example.comtyped directly in the editor) are wrapped in the same obfuscated span and converted into clickable mailto links on the frontend.
The raw page source never contains a readable @ address. JavaScript decodes the payload with the native atob() function and reconstructs the live link transparently.
No-JS fallback
Fallback text uses the HTML entity @ for @, so addresses remain human-readable in browsers without JavaScript.
Files changed
shadow-links.php— addedshadow_links_obfuscate_mailto()filter +shadow_links_extract_attr()helperjs/email-link-generator.js— addedprocessShadowEmailElements()andcreateShadowMailtoLink()methods (v0.1.9)README.md— new Automatic Email Obfuscation section, updated changelogs
Previous release
v0.1.0— initial release
wp-shadow-links
Test release
Corrected js script name - I hate/love Git -_-