Email Obfuscation (EMO) module for plaintext emails and email links with 64 base crypting
This module finds all plaintext emails and email links from the content and replaces them with span elements. All the addresses are stored in 64 base encoded srings to JavaScript array in souce code. Then on client side browser finds emo_email span elements, replaces and encodes them back to email addresses.
All emails inside form elements are left untouched. Same as anchor texts, unless it's email address. You can define default text string for replaced email address in module config.
Both emo touched span and anchor elements have emo_email
class name that you can use for css/js.
- Create a new folder
EmailObfuscation
into/site/modules/
. - Copy the contents of this repository to
/site/modules/EmailObfuscation/
. - Login to processwire and go to Modules page and click 'Check for new modules'. Find emo and click install.
- You can make optional configuration changes in module admin page.
This is ProcessWire module fork from MODX Evolution plugin emo E-Mail Obfuscation.