post-page

Hiding email address with CSS

9
responses
by
 
on
March 1st, 2005
in
Cool Scripts, LinkyLoo

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

heading
heading
9
Responses

 

Comments

  1. Dave M. (2 comments.) says:

    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…

  2. Sunny (1 comments.) says:

    Also this is not copy-and-pastable.

  3. Mathias Bynens (5 comments.) says:

    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. ;)

  4. John Keys (1 comments.) says:

    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.

  5. Mardeg (1 comments.) says:

    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.

  6. Grez says:

    I usually hide the email with javascript. Works pretty fine.

    Regards
    Grez

  7. Niranjan (1 comments.) says:

    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



Trackbacks/Pingbacks

  1. [...] | Cutting Edge CSS — hiding email addresses from harvesters with simple CSS trick. (via) This entry was posted [...]

  2. [...] al drive. Hide email. Nifty! Hiding email addresses via css. via Weblog Tools Collection This entry [...]

Obviously Powered by WordPress. © 2003-2013

page counter
css.php