Reduce your Spam

Feb 10

I’ve recently noticed that many websites have what looks like JavaScript ‘gobbledegook’ at the base of their pages. On further investigation I’ve come to discover that this is in fact a JavaScript function that encodes / obfuscates your html source.

This encoding is useful by helping to prevent nasty email harvesting robots from plucking out your email address from your websites mailto tag. (Which it would otherwise use for spamming purposes).

You could write your own encoder or use an online encoder; a popular encoder can be found at just type in your address hit the button and it will return you a piece of javascript that you can then cut n paste into your web page.

Other links:-

Filed under:
Posted by:
James Griffin
February 10, 2004