Hiding E-mail Addresses Using CSS

Have you ever had the need of putting your e-mail address up on public domain, but you’re afraid of spam bots harvesting your email address?

This is a cool CSS trick that you can use to prevent spam bots from harvesting your e-mail address.

gro.natluap@luap

Looks pretty normal right? But view the source and this is what you get.

<span style="unicode-bidi:bidi-override; direction: rtl;">gro.natluap@luap</span>

Spam bots would only be able to harvest the gro.natluap@luap which obviously isn’t a valid e-mail address.

Looking to sell your car? Sell it with Carro.

10% discount when you renew your car insurance

Compare prices between different insurer providers and use the promo code 'PAULTAN10' when you make your payment to save the most on your car insurance renewal compared to other competing services.

Car Insurance

Paul Tan

After dabbling for years in the IT industry, Paul Tan initially began this site as a general blog covering various topics of personal interest. With an increasing number of readers paying rapt attention to the motoring stories, one thing led to another and the rest, as they say, is history.

 

Comments

  • saintis kreko on Mar 03, 2005 at 4:05 am

    look like it is a good idea .. never thought of this even though i know abt the bidi function (which is not supported by all browser still in use) .. this need to be proven first .. have u tried ?

    ps: i'll be quoting this soon .. (i got no trackback, so inform manually lah..;-) )

    Like or Dislike: Thumb up 0 Thumb down 0
  • Jolene on Mar 03, 2005 at 5:13 am

    gro? =p

    Like or Dislike: Thumb up 0 Thumb down 0
  • Cool! Fast and simple!

    Thanks for the tip. :)

    Like or Dislike: Thumb up 0 Thumb down 0
  • Jolene on Mar 04, 2005 at 10:41 am

    Told you already, .org's are so dodgy. That's why I love .net's.

    Like or Dislike: Thumb up 0 Thumb down 0
  • DR KUNANATHAN on Jun 28, 2010 at 8:14 am

    Received volvo satisfaction survey for my volvo 960(s90) WGK 6168 at below site www.volvo-css.com/voa/my. Unable to access to this site. Please assist.

    Like or Dislike: Thumb up 0 Thumb down 0
 

Add a comment

required

required