Hide Email from Bots Macro
| Obfuscate email addresses to protect them from email harvesting bots |
| Type | XAR |
| Category | |
| Developed by | |
| Active Installs | 0 |
| Rating | |
| License | GNU Lesser General Public License 2.1 |
Table of contents
Description
Provides email protection from bots trying to harvest email addeses to further spam them.
The principle is based on the assumption that bots do not hold the power to run Javascripts, which we use to deobfuscate (unhide) the email we want to protect for the visitor/user.
Usage
{{mailto address="[email protected]" /}}where [email protected] is the obfuscated version of [email protected] email address obtained using this encoder.
Regular users will see a regular mailto link (e.g. [email protected]), as shown on this screenshot:

Bots will see an obsfucated mailto link (e.g. [email protected]).
In case you'e interested, this is the coding algorithm used.
Should you want to further improve this macro, in order to skip the encoding step and fill in the macro variable with the email address in clear, the encoding function should be adapted.
Release Notes
v0.1
First version.