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 hiveware.com 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:
Scripting
Posted by:
James Griffin
Dated:
February 10, 2004