We were drawing up a web site and this issue of do we put our email up and allow it to be harvested by spam bots. Anyway one of the developer boffins kiril karaatanasov came up with this cool bit of code that hides your address from the spam bots, who see junk rather than an address. I thought there might be some that are interested.
You just paste it in an HTML. You can change the name, domain, subject and body etc.
The e-mail link points to name@domain address and the message has subject equal to “subject” and body equal to “body”. This can make ones life easier if he is thinking how to start the e-mail and what subject to pick
…And you still have the advantage of hiding your address
He seemed to think that everyone knew about it… given the amount of Spam I get off my address being advertised I am not sure that is the case.
<SCRIPT LANGUAGE=”JavaScript”>
<!–
var name = “kiril.karaatanasov”;
var domain = “sciant.com”;
var subject = escape(“Hello Kiril”);
var body = escape(“Hello Kiril,”);
document.write(“<a href=’mailto:” + name + “@” + domain + “?subject=” + subject + “&Body=” + body + “‘ >” +name + “@” + domain+ “</a>”);
//–>
</SCRIPT>