Email Obfuscator and Encoder | JavaScriptSource

Email Obfuscator and Encoder

Ernesto Tuti Aug 31, 2007

"Email harvesting is a real problem nowadays; publishing an email address on a web page means exposing it to automated email collection softwares. Once it's been collected, there no way of getting rid of spam. The best way to avoid this is to obfuscate and encode email addresses; this simple JavaScript does exactly that. It splits an address in six different parts, so that bots are not able to recognize it, and it also encode the @ symbol and the . (dot) using ASCII codes, just to make it harder for bots to decode it. Even if the email harvesting software can read JavaScript and put the different parts of the address together, it would obtain an useless text like this: my-email-address@my-domain-name.com instead of myaddress@mydomain.com. Download the zip file containing all of the files here."

Leave a Response

(0 comments)