Search
Recommended Sites
Related Links






   

Informative Articles

7 Necessities To Do Well In Google
Search engine optimization is one of the most popular topics in Internet Marketing. The reasons are obvious. Search engines provide highly targeted traffic at a zero or very low cost. There are a lot of myths, debates, and disagreements...

Creating Custom Error Pages with .htaccess
Have you ever noticed that some people have really nice error pages when a page doesn't exist on their site? Wouldn't it be nice if you could make your error page match the rest of your site? Don't fret; you can do it! All you'll need to do is...

Make your Web Site Earn You Money
Make your Web Site Earn You Money The success or failure of a web site relies heavily on its design. Designing a web site involves several procedures such as creating mock-ups, defining interfaces, database design, system platform and web...

Securing Your Computer System
Today, more and more people are using their computers for everything from communication to online banking and investing to shopping. As we do these things on a more regular basis, we open ourselves up to potential hackers, attackers and crackers....

Web Page Optimization
We all want to have the most attractive website that leaves a visitor wide-eyed and completely dazzled. Usually an extremely attractive website design involves lots of graphical elements, increasing the overall page size which causes the page...

 
Use this JavaScript to Hide Your eMail from Spambots

Copyright 2004 Ed Zivkovic

How to Hide Your eMail Address from Spambots

Ever wander why so many webmasters refuse to insert their email address into the body of their webpages?

The reason is to protect their eMail address from email harvesting robots. These robots crawl the Internet searching for email addresses in order to build a spam list.

These spambots ignore the robots.txt file. The robots.txt file is used to instruct legitimate web crawling robots about where they can and cannot go on your site. The file is observed by honest search engine robots but not by spambots.

Spambots will also ignore any instructions within the meta tags of your HTML. This means that they just go around doing what they want violating your rights as a webmaster. Spambots are boundary violators just like the spammers who continue to do what they do. That is, send spam.

Many webmasters today have decided to use a contact form instead in an attempt to throw the spambots off. This has served a dual purpose for Internet marketers.

1. To keep the eMail address safe from spambots.
2. Another webpage to use for the purpose of channeling Page Rank (PR).

The contact form works fine, but just in case you find the need to add your eMail address into your webpages, you can use some JavaScript to hide the eMail from the spambots.

Below you will discover two Free JavaScript resources. These JavaScripts are easy to use if you have access to the HTML of your webpages. They can be added to any webpage quickly and easily.

The Unspamable eMail Link JavaScript

If you would like to display your eMail link to humans but hide it from spambots, you can use this Free cut-and-paste Unspamable email link JavaScript from: http://www.javascriptkit.com/script/script2/unspam.shtml

How to Edit the JavaScript

Select the JavaScript from the textarea then copy and paste it into your HTML document. For help with copy and paste, visit: http://webhome.idirect.com/~bowers/cutpaste/htm/index2.htm

You will notice two variables within the script:

var name = "protected";
var domain = "cdrsoft.com";

To insert the email address webmaster@yourdomain.com, simply replace the word "protected" with the word "webmaster" and replace the domain "cdrsoft.com" with "yourdomain.com". That's it.

Automatic Encoding Tool

This tool is easy to use. Just insert the email address you wish to protect and click the button called "Encode mail links": http://www.bronze-age.com/nospam/encode.html

Also, you will need to download a small file called "email.js" and upload it to your website. Full details about this system are available at: http://www.bronze-age.com/nospam/index.html.

Advantages and Disadvantages

JavaScript - Adding an email address builds trust with your visitors because when they click your email link, their mail browser opens and they know that when when they send that eMail, it is going directly to you.

Contact Form - With a contact form, you are sending valuable Page Rank to yet another page on your site. From that page, you can send more Page Rank to still other pages.

Note to Content Management Software Developers

Some article submission services publish authors articles along with the email address of the author. In this day and age, this is unacceptable. I would call this version "the barely ready beta version". In other words, it is ready for BETA release after this problem is fixed.

If you develop Article Publishing software, and the published articles include the authors eMail address, you are on a losing streak. I have spoken to owners of this type of software and they are on the lookout for something better.

This applies to other types of software scripts which publish HTML with an eMail address. Not everybody wants to open up free eMail dumping accounts.
About the author:

The author, Ed Zivkovic is a self-taught webmaster. His website (http://www.ezau.com) contains articles with all sorts of tips for work at home webmasters. Contact Ed here: http://www.ezau.com/zcontact.html



Sign up for PayPal and start accepting credit card payments instantly.