Go To Our Support Site

 

Web Design Hints

Prevent Spammers from Harvesting Your Email Addresses:

Most people are not aware that they receive a great deal of "spam" because their email address was "harvested" from web sites.  It works like this:  Spammers use a spider program that crawls through thousands of web sites per hour looking for text that appears to be an email address.  These email addresses are harvested into a huge list and then used or sold to other mailing list purchasers.  There is an easy way to prevent this.  By using the example HTML code below and pasting it into a web page, spiders will not be able to recognize the email addresses.  You will know it is working if you can't see the address in design mode (like in FrontPage or Dreamweaver), but you are able to see it on the web site.

<script>
var emailname = "
CustomerService";
var emaildomain = "
SturdyLink.net";
var emailsubject = "
Suggestion for you to consider";
document.write('<a href=\"mailto:' + emailname + '@' + emaildomain + '?subject=' + emailsubject + '\">');
document.write("Send Suggestions" + '</a>');
</script>

The above text is an example of a link you click to create an email to our customer service department.  Here is the way the script appears on the web page, and it still works as a link to open email, yet it can't be harvested by spiders.

 

On your web page design, click in the area where you want your email address link to appear and then paste the above HTML code.  Remember, it is NOT text, so don't try to paste it as text.  Example:  If you are a Microsoft FrontPage user, click on the "HTML" tab to view the HTML code and then paste it where you want the email address to appear.  Change the emailname, emaildomain, and emailsubject to match your email address.

This code also gives the advantage that you can preload any subject in the email program for the user.

 

 

© Copyright 1996 - 2008, Sturdy Link Internet Communications