EE 1
EE 2
Obfuscatee

Developer

David Hyland

3rd Party (Free)

7 downloads (last 90 days)

Creative Commons Attribution Download v1.0.1

Compatibility

  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Better Workflow
  • Matrix

Requirements

  • jQuery for the Control Panel

Categories

Plugin

Tags

A plugin for EE2 that returns a ROT-13 obfuscated string with Javascript decoding. Useful for creating email links.

v1.0.1: added CDATA tag for XHTML goodness

This plugin returns a ROT-13 obfuscated string with Javascript decoding within your template.

Parameters

  • str - the string to be obfuscated
  • mailto - yes|no (default is yes). specifies if the string is to be made into a mailto link
  • label - if mailto is enabled this is placed between the <a> tags. if not provided str parameter is used.
  • title - if mailto is enabled this is used for the title tag . if not provided str parameter is used.
  • id - if mailto is enabled this is used for the id attribute.
  • class - if mailto is enabled this is used for the class attribute.

Usage Examples

Email Link with address as label and title

{exp:obfuscatee str="hello@world.com"}

Email Link with different label, title, id and class:

{exp:obfuscatee str="hello@world.com" label="Mail Me!" title="You know you want to" id="linkHello" class="button"}

No links, just obfuscated text:

{exp:obfuscatee str="hello@world.com" mailto="no"}

Credit: Inspiration for this functionality from here and here

Download Obfuscatee

EE Version Downloads Add-On Version Release Date
2.+ Download 1.0.1 2011-07-19 01:00 AM

This entry was created July 14, 2011, 12:08 pm.
This entry was last updated January 31, 2012, 11:43 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!