Re: [feature] anti Spambot solutions
"Steven Wittens" <[email protected]> Mon, 12 Jan 2004 16:00:24 +0100
| Newsgroups | gmane.comp.php.drupal.user |
|---|---|
| Message-ID | <004b01c3d91c$ce7d84b0$dc7e040a@bunny> |
> I use the image to keep a harvester from merely > scraping the text of the address, I use the encoder to > keep them from harvesting the mailto: html code. The > beauty of it is that to a harvester it looks like > javascript but to a person clicking the link it is a > mailto link. Did you take a look at the source of the > page? Yes I did look at your source... which is why I'm saying the image is useless. You seem to forget that your image tag is part of the encoded data. Harvesters that don't execute Javascript will not grab the address. Harvesters that do execute javascript will see the following piece of content in the resulting HTML: <a href="mailto:[email protected]"><img src="picture-of-email-address"></a> They already /have/ the email address in this case, from the mailto link: the image is useless and only makes your site less accessible (not allowing text resizing and blocking out screenreaders). The replacement I suggest is that you encode the following <a href="mailto:[email protected]">[email protected]</a> This would give you the same level of protection that you currently have. Steven Wittens -- [ Drupal user list | http://list.drupal.org/ ] [ http://lists.drupal.org/options/drupal-user/gcpdu-drupal-user%40gmane.org ]