Hiding email address with CSS: This is cool, one of those “I should have thought of that” kind of things. Hide your real email address using a simple CSS trick. Thanks Anne
Hiding email address with CSS: This is cool, one of those “I should have thought of that” kind of things. Hide your real email address using a simple CSS trick. Thanks Anne
[…] | Cutting Edge CSS — hiding email addresses from harvesters with simple CSS trick. (via) This entry was posted […]
[…] al drive. Hide email. Nifty! Hiding email addresses via css. via Weblog Tools Collection This entry […]
Obviously Powered by WordPress. © 2003-2013
Yes, but couldn’t a spambot simply load the CSS file and scan it like it scan’s regular HTML pages?
I suspect that they don’t yet, but CSS is readable by looking at the HTML to see where the CSS is included from.
Just a thought…
Also this is not copy-and-pastable.
I do not mean to link-spam you, but I made a post about a PHP function that obfuscates email addresses twice — the characters are converted into entities, and then the address gets reversed through this CSS method. The Double Dutch of Email Obfuscation, so to speak. 😉
Unfortunately, not only e-mail harvesters will have a problem with this trick – it displays nonsense in Mac OS X’s Safari web browser. Not recommended.
I tested the method in my link in a few browsers, including Safari. It uses CSS to shrink a generated random-text logo down to resemble normal text.
I usually hide the email with javascript. Works pretty fine.
Regards
Grez
There’s almost no point in putting much effort in hiding your email address. As Grez pointed, javascript will do the trick easily, however a good antispam is a must. Graylisting is a very handy solution to huge amount of spam traffic.
Thanks,
Niranjan