|
Protect Your Email from Spiders
How many of you are tired of receiving junk mail
and would love to have a way to stop those annoying spiders,
whose only goal is to harvest all the email addresses they can
get? Spammers use automated search programs (spiders) to search
the internet looking for email addresses so they can 'harvest'
and email them their junk. Listed below are two easy ways to get
those email spiders off of your back:
1. Use Special HTML Characters in Your Href Statement
This is easiest way to hide your email from spiders, but is not
fool proof. Let's say that my email address is info@myemail.com
and I want the link to read, "Contact Us." Place the href
statement anywhere your want the link to appear. Here goes:
<a href="mailto:info@myemail.com">Contact
Us</a>
2. Use JavaScript
Using JavaScript makes it much more difficult for spiders to
harvest your email address. For this example, I will the same
email address example from above. Copy, (remember to change the
info to reflect your email address) and **important** paste it
into the BODY section of your page. Here goes:
<script language="JavaScript"><!--
var linkname = "Contact Us";
var you = "info";
var emailserver = "myemail.com";
document.write("<a href=" + "mail" + "to:" + you + "@" +
emailserver + ">" + linkname + "</a>");
// --></script>
Special Note: keep the document.write string on one line. Do not
separate the string onto two lines in your HTML code.
By Robert J. Miller. Copyright 2008
TenBestWebHostingSites.com
More Webmaster Articles
Domain Name Hosting
Privacy
HostMonster Review
How to Choose a Domain
Name
Have Links Open in a New
Window
Website Security
Using SSL Certificates
What is Fantastico de
Luxe?
What is Ruby on Rails?
WordPress vs. b2Evolution
|