Model Citizen Banner

Hide your eddress from spammers

Copy/paste the script below into a web page where you want a mailto link. Replace the text in red with:
your own account name - that part of your eddress to the left of the @
your own mail domain - that part of your eddress to the right of the @
the DISPLAY TEXT you want to show on the web page as a mail link

Note: If spammers already have your eddress, this probably won't help much. Use it when you get a sparkly, brand-new eddress.
 


<SCRIPT LANGUAGE="JavaScript">
uname = "your account name";
domain = "your mail domain";
;
document.write('<a href=\"mailto:' + uname + '@' + domain + '\">DISPLAY TEXT</a>')
</SCRIPT>


for example, if your edress is nobody@erewhon.net, the script would look like this:

<SCRIPT LANGUAGE="JavaScript">
uname = "nobody";
domain = "erewhon.net";
;
document.write('<a href=\"mailto:' + uname + '@' + domain + '\">send me mail</a>')
</SCRIPT>


Trek Modeler's Reference

Model Citizen Home