Download & Extend

Graceful Email Obfuscation Filter

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:contact@example.com">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:contact@example.com">Example Contact</a>

Example 2

Actual link: <a href="mailto:contact@example.com">contact@example.com</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:contact@example.com">contact@example.com</a>

Required Modules

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

Drupal 7 Status

Please take the time to test 7.x-1.x-dev and provide any feedback you may have.

Project sponsored by: Tidal Multimedia - Vancouver Drupal Developers

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.1 tar.gz (8.23 KB) | zip (9.29 KB) 2010-May-18 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (8.26 KB) | zip (8.97 KB) 2011-Aug-06 Notes
6.x-1.x-dev tar.gz (8.2 KB) | zip (9.1 KB) 2011-Feb-25 Notes

Project Information


Maintainers for Graceful Email Obfuscation Filter

  • JamesK - 7 commits
    last: 27 weeks ago, first: 2 years ago

Issues for Graceful Email Obfuscation Filter

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 6 Feb 10