in reply to Hiding mail addresses in mailto: with JavaScript
Please don't use this javascript solution. You're solving a non-existant problem.
And it'll be a long time before spammers go to the trouble of decoding entities on scraped pages. After all, there are alreadly millions of addresses in "XXX@yyy.ZZZ" form on the web that don't require the CPU to decode, and they're after numbers, not quality or cleverness.
It also suffices to have at least one unusual character in your email address: my email address of <fred&barney@stonehenge.com> has never been spammed, despite appearing in numerous usenet posts and web pages. Yes, <barney@stonehenge.com> has gotten numerous hits from almost the first day the other had appeared, but never the whole thing.
In summary, write your mailto links like this:
and it not only looks right, it acts right, and yet the spammers don't see it. Don't use Javascript.<a href="mailto:merlyn@stonehenge.com"> Send mail to <tt>merlyn@stonehenge.com</tt>!</a>
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: •Re: Hiding mail addresses in mailto: with JavaScript
by tilly (Archbishop) on Oct 25, 2003 at 14:15 UTC | |
by merlyn (Sage) on Oct 25, 2003 at 14:22 UTC |