How to: protect emails from "spam" bots?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've seen on some websites that email address are "hidden" and protected from
"spam bots". I've inquired how this is done in HTML and ASP newsgroups, but
nobody seems to know... or answer. This is probably not the right newsgroups
either, but can someone point me in the right direction (or if they know)
advise how this is done?

Thanks,
 
charliewest said:
I've seen on some websites that email address are "hidden" and protected from
"spam bots". I've inquired how this is done in HTML and ASP newsgroups, but
nobody seems to know... or answer. This is probably not the right newsgroups
either, but can someone point me in the right direction (or if they know)
advise how this is done?

Thanks,

There are several ways to do it, but I use javascript. Here is the code I use, which I found on someone else's site:

<a href="../tmpl/admin/mail.htm" onmouseover="this.href='mai' + 'lto:' + 'vagabondia' + '@' + 'san.rr.com'">Contact Webmaster</a>

Here is the what it looks like on a web-page:
http://home.san.rr.com/vagabondia/admin/mail.htm

This is a test site and still under construction, but the email obfuscation works.

carl
 
Back
Top