hwg-languages archives | Jun 2000 | new search | results | previous | next |
Re: Anti-Email harvesting scriptby "Greg Rundlett" <greg(at)freephile.com> |
|
You can use JavaScript to hide your email addresses, and mailto: links from spiders. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Untitled</title> </head> <body> <script language="JavaScript" type="text/javascript"> // SpamProof Mail Script // linktext is the clickable text you want displayed in the browser. // pre & post are the text on either side of the "@" sign in your email address. var linktext = "Contact Us"; var pre = "BillGates"; var post = "microsoft.com"; document.write("<a href=" + "mail" + "to:" + pre + "@" + post + ">" + linktext + "</a>") </script> </body> </html> Greg Rundlett www.freephile.com
HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA