Version 2.0 – 02.05.2007
Adrian Kousz
Text direction
Enities
Display: none
HTML comments
Splitting with CSS
← Back to main
The advantage of all the described methods is that the e-mail address is shown in plain text.
Because of that, it’s rather unsafe to use these methods, but if you combine them all, the harvesters would need a complex parser (which would take too much time to filter the addresses).
All these methods have a common disadvantage (except the enities): the address can’t be made clickable. This is, because the attribute value of href="" is CDATA.
CSS2
24-03-98
<span style="direction:rtl; unicode-bidi:bidi-override">moc.liam@elpmaxe</span>
Disadvantage: When copied, it could be pasted in the wrong direction.
| Enter your mail: | (no phishing) ;-) |
| Reversed: |
HTML
2.0
example@mail.com
As you can see, I used decimal and hex notation alternating.
You can also make it clickable:
<a href="mailto:example@mail.com">E-mail</a>
| Enter your mail: | (no phishing) ;-) |
| Encoded: |
CSS
example@<span style="display:none">garbage</span>mail.com
HTML
example<!-- >@. -->@<!-- >@. -->mail<!-- >@. -->.<!-- >@. -->com
Using the characters > @ . in the comment tag the spider is even more confused.
CSS2
28-01-98
In CSS declaration:
#mail:after {content: 'mail.com'}
Disadvantages:
In body:
<span id="mail">example@</span>
– The text may not be selectable
– Doesn't work with Internet Explorer (neither 6 nor 7)