Sunday 2 September 2012

Protect Your Email Address From Spam

Important: All scripts hosted on widcraft.googlecode.com don't work anymore because Google has blocked that SVN repository.

There are many reasons why you shouldn't place your email in on a Web Page; the number one being spambots. There are tons a spambots running around the Web looking for that '@' symbol so that they can bombard you with as much spam as possible. Instead of displaying my email address, I use a contact form.Below trick will reduce your chances of getting targeted by spambots.

As you can see in above image, today my spam box got 867 mails (In last 7day) so here is a clever and safe way to display your email address using CSS redirection.

First we have to post this CSS in your HTML document or Blogger template above </head> :

<style type="text/css">
span.redirect {
unicode-bidi:bidi-override;
direction: rtl;
}
</style>

Now we have to write our email address in backwards like this :

<span class="redirect">moc.liamg@emanruoy</span>

It's a simple and useful trick.
Important: Check our new website TricksPanda.com for WordPress tutorials, plugins and more.
 
Powered by Blogger.