Graceful Email Obfuscation Filter

Installs: 
690
Open Bugs: 
2
Development Status: 
Seeking co-maintainer(s)
Under active development

This email obfuscation module works similar to the technique described at the list apart article http://www.alistapart.com/articles/gracefulemailobfuscation/. It uses an input filter to "hide" email addresses, then uses javascript to "unhide" them for normal users. You can use this module anywhere you can use input filters (node body, CCK text fields, etc). This module also implements the core contact module for non-javascript browsers in order to keep clickable email links.

Most other email obfuscation methods either remove clickable links entirely and just give you a "garbled" address, or they only keep clickable links for js-enabled browsers. The method used by this module allows both js-enabled, and non-js-enabled browsers to see a normal clickable link which they can use to contact the addressee without having to retype the address manually.

Usage Examples

Example 1

Actual link: <a href="mailto:[email protected]">Example Contact</a>

What spambots see: <a href="http://example.com/contact/contact/example/com">Example Contact</a>

What (js-enabled) visitors see: <a href="mailto:[email protected]">Example Contact</a>

Example 2

Actual link: <a href="mailto:[email protected]">[email protected]</a>

What spambots see: <a href="http://example.com/contact/contact/example/com">contact[at]example[dot]com</a>

What (js-enabled) visitors see: <a href="mailto:[email protected]">[email protected]</a>

Required Modules

  • Contact (Core module)
  • Prepopulate - Recommended Allows contact form fields to be auto-filled

Drupal 6/7 Versions

Both 1.x branches contain the same features.

Project sponsored by: Tidal Multimedia - Vancouver Drupal Developers
Releases: 
7.x-1.1
6.x-1.1
7.x-1.x-dev
6.x-1.x-dev
Release Dates: 
08/09/2012
05/18/2010
09/30/2013
09/30/2013