emo - E-Mail Obfuscation 1.4.0-rc1

emo - E-Mail Obfuscation 1.4.0-rc1

Released Jan 07, 2011 by

E-Mail Obfuscation with Javascript.

This version is deprecated. It is recommended to use a newer version.

Download 8kb (545 downloads)
Downloads: 3,090
License: GPL
Discuss Extra
Requires Evolution 1.0.x or greater
Supports mysql

This plugin replaces all plaintext emails and email links with span elements. Then email addresses are encrypted and stored in javascript variables. Javascript decryption routines are triggered by the browser on window.onload event and replace the span elements with the real email addresses.


New features in 1.4:



  • Does not modify addresses inside form tags, works better with mailto hrefs

  • Call javascript file by regClientStartupScript

  • Noscript message could be set to an ID and a link to this page will be generated (i.e. to link to a contact page with disabled javascript)

Installation Instructions


  1. Upload the emo folder into assets/plugins

  2. Create plugin EMailObfuscate and insert include MODX_BASE_PATH.'/assets/plugins/emo/emo.plugin.php'; Under System Events, check the OnWebPagePrerender and OnLoadWebDocument event.

  3. Insert configuration string and choose your settings
    &emoTplOnly=Templates only?;list;enable,disable;enable &emoSelection=How to select ID's?;list;exclude,include;exclude &emoSelectionRange=Chosen ID's;text; &pathToEmoJs=Path to javascript;text;/assets/plugins/emo/emo.min.js &pathToEmoCss=Path to css;text; &noScriptMessage='No javascript' message (ID for internal link);text;Turn on JavaScript!

  4. Optionally: edit your template CSS (see emo.css) or include emo.css in the plugin settings.

Version Released Author Downloads
4 Versions 3 Contributors 3,092 Downloads
1.5.1-pl Nov, 26 2013 jako 615
1.5.0-rc1 Oct, 28 2013 jako 224
1.3.0 Jan, 24 2008 floh 1,708