12 September 2007

Email Obfuscator and Encoder

Email harvesting is a real problem nowadays. Publishing an email address on a web page means exposing it to automated email collection software. The best way to avoid this is by obfuscating and encoding email addresses. This simple javascript script does exactly that. It splits an address in six different parts, so that bots will not able to recognize it, and it also encodes the @ symbol and the . (dot) using ascii codes, just to make it harder for bots to decode it. So, even if the email harvesting software could read javascript and put the different parts of the address together, it would obtain useless text.

No comments: