Pixelpost

Authentic Photoblog Flavour

Email Cloak v1.0

 
Download (13.8 KB)

Developer Description

Addon that cloaks all emails in content from spambots via Javascript. You don't have to care about email encryption, just enter an email address and the addon will replace the email with a mailto link with email cloaked.

Email Cloak produces valid XHTML 1.1 code.

Detailed description

Email Cloack searches for derivatives of link code

  • <a href="mailto:email@example.com">email@example.com</a>
  • <a href="mailto:email@example.com">anytext</a>
  • <a href="mailto:email@example.com?subject=Text">email@example.com</a>
  • <a href="mailto:email@example.com?subject=Text">anytext</a>

or plain text

  • email@example.com

and replaces an email with a mailto link with email cloaked.

Use it

  1. Put the email_cloak.php in your addons folder.
  2. Go to your admin panel and activate the Email Cloak Addon.
  3. (optional) Select how emails will be displayed by changing the variable $mode in email_cloak.php
    • $mode = 0; Non-linkable Text
    • $mode = 1; As linkable mailto address

Information

For updates & info please visit: http://www.topleftpixel.de/

Write A Review

  1. Good 4
    timiambeing 7 Months Ago Report as Spam

    It's a slim chance but just in case Josef pop's by I have been happy with email cloaking for ages until I realised it is also trying to cloak the comment email a user saves in the comment form. It obviously can't do this properly so all a user sees in the email address field is a load of javascript! I can't find out where the cloaking program is called from or a way to tell it to only apply itself to the "about" page! PHP defeats me mainly :-)