I wish to display my email on my website, however I do not want scrappers to collect it. In other words I do not want to open the spam flood gates. Is there an effective way of leaving my email visually intact while thwarting email scrapping bots?
Asked
Active
Viewed 473 times
3 Answers
3
Several solutions:
- Wrap it into an image. Make sure you do something with the image in order bots not to be able to read it using OCR.
- Encode it using your custom encryption algorithm, store the encrypted text in the web page, then at page load time, use JavaScript to decode it. This might not be very secure as some bots may be able to interpret JavaScript.
- One of the best options is to require the user to type in a CAPTCHA code and only then redirect him/her to a separate page with your e-mail address shown.
0
It is very convenient for visitors to have mailto:mail@example.com so they can click on it..
So consider other options as - publishing email address as is but using address with Google's Gmail (provides very good spam filtering) - placing "contact" form in addition to email address (but the form should be protected from spammers with captcha or some additional trick to prove as a human)

Eugene
- 2,820
- 19
- 24
-
I mean that when you protect email address with javascript and user has javascript turned off (common these days with plugins like NoScript) - they see nothing instead of email – Eugene Aug 10 '12 at 12:37
0
For a well thought out solution check out reCAPTCHA Mailhide. If you are willing to go with less security you could try writing your email address out like my name at domain dot com or something like that although spammers can easily write software to scrape these (and probably already have given the growing popularity of this approach).

Hmmmmm
- 778
- 9
- 20