1. Home
  2. Computing & Technology
  3. JavaScript
Stephen Chapman
Stephen's JavaScript Blog

By Stephen Chapman, About.com Guide to JavaScript

Hiding Your Email Address

Tuesday October 2, 2007
Including your email address in your web page may result in a lot more spam

Spammers run programs to scan web page source looking for email addresses that they can add to their mailing lists. These "spiders" (as these programs are called) are becoming progressively more sophisticated at identifying email addresses that you may have attempted to obscure in some way. This form provides two options that will provide an obscured version of your email link either as HTML or as JavaScript. Some spiders may be able to read addresses obscured in this way but this should hide the address from at least some of them. There are also suggestions at the bottom of the page for alternatives to take if this form doesn't go far enough to suit you.

Hiding Your Email Address
Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss
Readers Respond
Nominate an Unusual JavaScript
Add Your Response

Recent Blog Posts
Explore JavaScript
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2010 About.com, a part of The New York Times Company.

All rights reserved.