Preventing Your E-mail Address From Being Harvested

The Web has long provided a way to embed an e-mail address in a clickable link with the mailto: tag. However it didn’t take long for spammers to develop robots that harvest Web pages’ embedded e-mail addresses, for use in building and selling spam lists. If you want to avoid being harvested, but still want to provide a way for visitors to your site to send a message, you can consider a couple different approaches.

You can use mailto: with some letters represented as numbered entities. So instead of using this line to embed an e-mail address on your Web page:

 Send the webmaster feedback

you would use:

 Send the webmaster feedback

Most browsers will substitute “m” for m but many robots do not.

Another approach is to use a CGI script to provide a feedback/mail form.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


Recent Articles: