Skip to main content

Prevent spammers from stealing your email

Don't put email addresses on a website!

Spammers WILL lift those addresses directly from your website, unless you take special precautions. This article explains some ways to hide your email addresses on websites from spammers.

Michael recommends a javascript to hide your email address from spammers. Though this message is not fool-proof but it still does the trick 90% of the times.

Here is the full code listing:
Write us at <SCRIPT LANGUAGE=JavaScript>
a='info'; b='BicycleAustin.com';
document.write('<A href="mai');
document.write('lto:'+a+'@');document.write(b+'">');
document.write(a+'@'+b+'</A>');</SCRIPT>
<NoScript>info(at)BicycleAustin.com</NoScript>.

Click to <SCRIPT LANGUAGE=JavaScript>
a='info'; b='BicycleAustin.com';
document.write('<A href="mai');
document.write('lto:'+a+'@');document.write(b+'">');
document.write('send us email</A>');</SCRIPT>
<NoScript>info(at)BicycleAustin.com</NoScript>.

Here's a form that will allow you to encode your e-mail address through the use of Character Entities, transforming your ascii email address into its equivalent decimal entity.