Good find Litso. The important thing here is that the address isn't plainly displayed in the page source. Replacing the ampersand with an alternate repsentation often works, but simply using foo[at]bar.com might not cut it these days, yet the more elaborately you decorate the address, the more likely it is to confuse users as well. Using CSS/JS obfuscates the address while still allowing users to read it or copy and paste it.
–
Lèse majestéMar 12 '11 at 12:28

There's no point in obfuscating the code itself. That's only used if you want to hide the intention of the code from humans. But the spammer could just open the page in a browser or take 5 seconds to parse the code. Obfuscating the code also won't do anything to hinder a bot that parses JavaScript or CSS (e.g. a screen scraper).
–
Lèse majestéMar 12 '11 at 12:30

Thank you for a good answer! I did now change from my previous JavaScript code to use the CSS code direction-thingy! :)
–
Martin-AlMar 12 '11 at 12:54