Friday, April 04, 2003
It definitely annoys me that spammers constantly search the web looking for
emails on websites, and then sending their crappy spam to people. Fortunately,
there's a good solution: You should never directly put your email on a website.
Instead, you should put the script shown below. The downside is that it would
not be rendered correctly on that tiny fraction of people that don't run
JavaScript.
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
user = "joeuser";
site = "mydomain.com";
document.write('<a href=\"mailto:' + user + '@' + site + '\">');
document.write(user + '@' + site + '</a>');
// End -->