View Single Post
  #20 (permalink)  
Old 07-25-2007, 05:04 PM
prof611 prof611 is offline
WebProWorld New Member
 
Join Date: Jan 2006
Location: US Virgin Islands
Posts: 8
prof611 RepRank 0
Default Re: Email spam bots - display name vs. actual email address

On all of my websites, I use an offpage javascript to insert the email address onto the page. This means that the address is not visible by bots, since they can only read the code, not the page as it appears to humans. The only thing visible in the code is:

<span id="mailTo"></span>

and the javascript inserts the mailTo link between the tags.

I know that people who have javascript disabled won't see anything, but that is a very small proportion of websurfers nowadays.

I don't know why noone else has thought of this solution, as it seems foolproof to me. The code is freely available at the website below.

Professor
Professor's Coding Corner
Reply With Quote