PixelPusher.com - use your <HEAD>
R E A D
COMMENT
img src
Tools
Store
 

Last updated:
Wednesday, 01-Dec-2004 09:48:25 PST

BBEdit: it doesn't suck

Make your mailto's Spam-proof

  I've had my email address on the web, in my domain registrations and in mailto: links since 1993, and it shows. :P I get, on average, about 60 spams a day at that address, so many that I now have to abandon it. My new address I will be disguising a bit better. One way of doing that is by using this JavaScript trick I got from JavaScriptSource.com

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
user = "myusername";
site = "myhost.com";

document.write('<a href=\"mailto:' + user + '@' + site + '\">');
document.write('Email me!' + '</a>');
// End -->
</SCRIPT>

This will result in a mailto: like this:

Just make sure that in the link text, you don't type out the address. Advanced spam spiders read more than just mailto: links.



© 1999 PixelPusher Media ®