Ive recently noticed that many websites have what looks like JavaScript gobbledegook at the base of their pages. On further investigation Ive 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
- spam
- Posted by:
- James Griffin
- Dated:
- February 10, 2004
- Tweet