Spam-proof email address
Monday December 5, 2011
How to write an email address on your website safely, so that it won’t get picked up by email address harvesters.
Use this code:
<script language="JavaScript">
var a = "yourname",
b = "@",
c = "gmail",
d = ".com";
document.write(a+b+c+d);
</script>
That’s it.
I’ve been using this for years. Harvesters won’t see anything, but real people will get plain text that they can copy and paste.