Àpèjúwe
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:
[spamex email="name@domain.tld" key="secret"][spamex phone="+1!123!456"]
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=”test@example.com” key=”protect”]
test@example.protect.com
[spamex phone=”+49!123!456″]
+49123984456
Use exactly two ! to split number into three parts.
Ìgbéwọlẹ̀
- Upload the
spamexfolder to/wp-content/plugins/ - Activate the plugin via WordPress > Plugins
Àwọn àgbéyẹ̀wò
Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.
Àwọn Olùkópa & Olùgbéejáde
“Spamex” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.
Àwọn OlùkópaṢe o nífẹ̀ẹ́ sí ìdàgbàsókè?
Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.
Àkọsílẹ̀ àwọn àyípadà
1.6.3
Public release
1.6.2
FIX: Shorten version number to 6.7
FIX: Prefix generate_random_number with spamex
FIX: Handle explode() false in PHP 8.x
FIX: wp_get_custom_css() null fix for PHP 8.1
1.0
Initial release
