Crypto Mailto Defender
Email spam protection.
Not scanned yet
WordPress plugin
Install in
Standard obfuscation tricks—ROT13, CSS direction, HTML entities, or Base64/XOR—are easily bypassed by modern scrapers, AI crawlers, and headless browsers.
🔐 Crypto Mailto Defender uses real server-side cryptography. Your email addresses never appear in the HTML source or DOM until a verified human interacts with them.
⚡ How It Works
- Global or Targeted Interception: Captures the final output before it leaves the server, matching every
mailto:link and plain-text email across your layout—or only the specific addresses and domains you configure. - AES-256-GCM Encryption: Encrypts each address with a unique 256-bit key, 96-bit IV, and 128-bit authentication tag, replacing it in the HTML with a customizable mask (e.g.,
********@domain.com). - Human Proof & AJAX Decryption: On click or tap, the plugin validates physical interaction metrics (press timing, geometry, hardware score, and a SHA-256 Proof-of-Work) and decrypts the address via server-side AJAX. The secret key never leaves your server.
✨ Key Features
- 🎯 Global or Targeted Protection: Protect all emails automatically, or restrict encryption to specific addresses (
info@example.com) and wildcard domains (*@example.com), bypassing full-site regex scanning. - 🚀 Ultra-Fast Early-Exit Engine: If a response has no
@(or no configured target rule), PCRE scanning is skipped in 0ms; frontend JS loads non-blockingly viadefer. - 🤖 Anti-Headless Bot Shield: Blocks automated scrapers (Puppeteer, Playwright, Selenium, WebDriver, cURL, Python) via press timing, pointer telemetry, WebGL software-renderer checks,
isTrustedevents, and Same-Origin headers. - ⚡ 100% Cache-Friendly: Works with Cloudflare, WP Rocket, LiteSpeed Cache, and W3 Total Cache without breaking when WordPress nonces expire.
- 🌐 Page Builder Compatible: Protects emails in posts, headers, footers, widgets, AJAX/REST responses, and builders (Elementor, Divi, Bricks, Oxygen, Beaver Builder, WPBakery, Breakdance, Gutenberg).
- 📋 1-Step or 2-Step UX: Reveal text links on the first click and open the mail client on the second, or launch
mailto:immediately. Icon and button links always launch immediately. - 🛡️ Built-In Rate Limiting: Protects
admin-ajax.phpusingREMOTE_ADDR, anti-replay checks, and Object Cache support. - ♿ Accessible by Design: Keyboard navigation (
Tab+Enter/Space),aria-liveannouncements, and screen-reader friendly markup.
💖 Support & Acknowledgements
Crypto Mailto Defender is 100% free and open-source, with no paid “Pro” tier. If it helps keep spam out of your inbox, consider buying me a coffee via PayPal.
Inspired by Spencer Mortensen’s article Email Obfuscation.
Written by Joobi from the project's own listing. See the source page
22 Nov 2026
Version 1.3.1 released. Not scanned yet.
1.3.1
- Fix: Resolved WordPress Plugin Check warnings and removed the duplicate
Tested up toheader from the main plugin file.
1.3.0
- Feature: Added Targeted Protection with an interactive chip UI to protect specific emails or wildcard domains, bypassing full-site regex scanning when configured.
- Security: Bound AES-256-GCM AAD to
homeURL; unified anti-replay (300s TTL) and rate limiting into a 500-entry bucket with 3x failed-attempt penalty; validated parameters before touching rate-limit storage; addedContent-Type,Accept-Language, andSec-CH-UAchecks; made secret-key init race-safe viaadd_option(). - Accessibility: Added
aria-live="polite"announcements,aria-hidden="true"masks with SR fallback text,role="button"on 2-step links,<span>rendering inside<button>,prefers-reduced-motion, and accessible admin controls. - Improvement: Moved
mailto:query strings intodata-cryptomail-queryso identical emails share one encrypted payload and reveal together. - Compatibility & Fixes: Accepted matching
Origin/RefererwhenSec-Fetch-*headers are absent; addedmousemove/mousedownfallbacks; removed invalidnoindexfromrel; added non-HTTPS admin notice; prevented duplicate cache purges and Forminatorpreview_datafalse positives; cleaned up transients on uninstall; added defensive inline CSS resets.
1.2.0
- Security: Upgraded to AES-256-GCM; added multi-factor human-proof telemetry (interaction mask, DOM age, hardware score, SHA-256 PoW), anti-replay (300s TTL), object-cache rate limiting, deterministic HMAC client token (full-page cache compatible), and stricter AJAX header/UA validation.
- Features: Added 1-click mail client toggle, simultaneous reveal of identical emails, animated loading spinner, auto-syncing hint placeholder, and
cryptomail_skip_request,cryptomail_client_ip,cryptomail_rate_limitfilters. - Compatibility & Performance: Hooked output buffering on
init(HTML, JSON, AJAX/REST) with builder/editor detection; added 0ms early-exit,<head>slicing,deferscript loading, lazy runtime init, multibyte masking, and improved(*SKIP)(*F)tag exclusions. - Changed: Raised minimum WordPress version to 6.3; defaulted IP detection to
REMOTE_ADDR; removed silent clipboard copy and legacyTreeWalkerDOM rewriting.
1.1.0
- Security: Added hardware interaction checks (hold duration & CRC32) to block headless browsers.
- Performance & Compatibility: Added early-exit when
@is absent, cache-friendly AJAX verification, and client-side in-memory caching. - Fix: Resolved PHPCS warnings and updated compatibility to WordPress 7.1.
1.0.1
- Feature: Migrated to global output buffering to cover headers, footers, and page builders.
- Security & Performance: Added AJAX rate limiting, safer SVG/attribute handling, and conditional asset injection.
1.0.0
- Initial release.
25 Jul 2026Listed on Joobi from WordPress.org.
Follow this listing's changes (Atom feed)