Anti Spam (2008-07-10) (Downloaded 136 times)


Compatible: Pro 3.5, Pro 4, Pro 5, Pro 5.5, Pro 6, Express 3.5, Express 4, Express 5, Express 5.5, and Express 6

Author: Tim Plumb

Protect your mailto links from being harvested by spambots with the Anti Spam Action from

E-mail encoding options include:

  1. Entity encoding
    Character entity substitution where each character of the e-mail link is replaced by its associated entity value. Although this has the benefit of being compatible with all browsers it ‘could’ become susceptible should any of these spam bots choose to target this encoding method in the future.

  2. Randomized codes
    Randomized codes encodes the e-mail link in much the same fashion as entity encoding but puts a spin on the whole concept by, you guessed it, mixing up the encoding method for each of the elements of the address. Any modern Web browser will effortlessly decode the string of randon codes leaving spam bots still looking for the e-mail address.

  3. JavaScript link slicing
    This option uses JavaScript to split the e-mail address into chunks and only place them back together, in memory, when the link is clicked on. If you are concerned that e-mail addresses could still be harvested once they are entity encoded (method one) and you are sure that the majority of your target users will have JavaScript enabled then this could be your best solution.

  4. Randomized JavaScript link slicing
    A lot like JavaScript link slicing this option encodes e-mail addresses using both a randomized key as well as splitting the resulting code into randomized data chunks. These are only reunited and decoded in JavaScript when the link is clicked.

  5. JavaScript encoding
    This option is for the paranoid web developer where the links are encoded using JavaScript. We increase the chances against the code being broken by randomizing the ‘key’ that encodes the links and in doing so the links become very hard for a spam bot to decode. Since the spam bot does not know how the link is encoded it will simply harvest what seems to be a random set of numbers. Although JavaScript encoding is much more secure it will require a browser that supports JavaScript version 1.1 (IE and Netscape version 4 or above for example).

  6. Protect using PHP
    For users with access to PHP enabled web space the PHP protection method offers a way to remove the recipient’s e-mail address from the HTML page without having to encode it at all. The standard e-mail link is replaced with a link to a new PHP page that, in turn, forces the browser to open the e-mail address. Because the address is contained inside the PHP code it cannot be harvested.

  7. Protect using ASP
    This option is exactly like the PHP option above but uses the power of ASP rather than PHP to do its stuff. Ideal for users with access to ASP enabled servers.

Please note: The Anti Spam action suite consists of a page action, item action, and folder action all in a single action bundle.


$10.00 Purchase


Sign In or Sign Up to comment.