My requirements for any solution are, in order of importance:
- A clickable link.
- Users should be able to copy the email address to the clipboard.
- It should be easy for me to insert an email address on a page.
- It should reduce spam.
A standard <A> tag with a mailto link satisfies the first four requirements but doesn’t help reduce spam. An address written as ‘name@*removethis*domain.com’ will probably defeat all the crawlers but fails the first three requirements and is painful for your visitors.
With this in mind my current preference is to enter an email address as:
Then call a de-obfuscate function on document ready
I suspect that this method will cause the least pain for most visitors and stop some of the spam but it depends on how much the crawlers have moved on since Silvan’s test. One way to find out is to rerun the test.
I’ll just use the top 5 results from Silvan’s test and add plain text for comparison purposes. I intend to let the test run but will report back when I get something statistically significant. If you know of any other tests running or run recently let me know and I’ll include links at the end of the post, you can mail me at john AT johnplummer DOT com :).
Using plain text
Using AT DOT
email: ad AT johnplummer DOT com
email: js AT johnplummer DOT com
Using code direction
email: rot mail