Directory / plugin

Spamex

v1.6.3 · by SuccessMedia

Protect email addresses and phone numbers from spam bots with a simple shortcode.

About this plugin

Spamex provides a shortcode to obfuscate email addresses and phone numbers in HTML. This protects them from scraping bots while staying readable for users.

Examples:

How it works:

Email:
– The key is injected between domain and TLD.
– Example: name@domain<b>.secret</b>.tld (key is hidden via CSS)

Phone:
– Format must be: prefix!middle!suffix
– The middle part is replaced by random digits.
– Example: +49!123!456 +49123<b>XYZ</b>456

In both cases, the <b> part is hidden using CSS and only fools bots.

Usage

Email obfuscation:

[spamex email=”[email protected]” key=”protect”]
[email protected]

[spamex phone=”+49!123!456″]
+49123984456

Use exactly two ! to split number into three parts.

Plugin tags