You are here: Re: Need to add this code to my website to hide my email from spam bots « HTML « IT news, forums, messages
Re: Need to add this code to my website to hide my email from spam bots

Posted by Philip on 10/05/67 11:51

In article <Hhhog.161031$F_3.151964@newssvr29.news.prodigy.net>,
Jeremy <jeremys@uci.edu> wrote:

> fb3003@gmail.com wrote:
> > Any help is greatly appreciated.
> > Thanks
> >
>
> First, if you're already getting lots of spam, it's too late for you.
> You're on their lists. Removing the e-mail address now is not going to
> get you off the lists.
>
> Second, doing this with javascript is a pretty bad idea. You might try
> replacing some or all of the characters in the <mailto:> url with their
> URL-encoded escape codes - i.e. replacing @ with %40. Not sure if this
> will faze the bots, but it's worth a try.

I've been testing this with some spamtrap email addresses, and it
appears to work quite well (but not perfectly).

> In any case, javascript is probably not the answer, and document.write
> *certainly* is not.

IMO Javascript *can* be an answer as long as you provide an alternate
means of contact for non-JS browsers. I use it on my site (see my sig)
and it degrades gracefully for non-JS browsers. Yes, I know, it is kinda
stupid of me to go to the trouble of protecting my address that way and
then posting the same address on Usenet, but that's another issue...

--
Philip
http://NikitaTheSpider.com/
Bulk HTML validation, link checking and more

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация