Email No Spam

This is a very low-key, important script.  Unfortunately, it's nothing you can show off.  So why would you want to take the time to include it in your website?  If you post a list of email addresses on your website, robots that roam the Web will "harvest" these addresses and add them to various databases.  Companies will then sell these databases.  The following script will block most of these harvesters.

DIRECTIONS

Copy the script below. 

In design view, decide where you want the mailto email address to appear.  It does not have to be in a table cell, but it is easier to control the placement if you put it in a table. Type in some random placeholder text, like cccccc, and highlight it.

Change to the code view and locate the highlighted placeholder text.  Paste the script in the table cell, overwriting the placeholder text.  The script will be between brackets like these:  <td></td>.  (That's the code for the beginning and end of a cell.)  Do not adjust the lines.

Change the user ID and domain in two places.  Copy and paste your new script into the other cells and change each user ID in two places.

Be careful not to delete any of the details of the script.

<script language="JavaScript">
<!--
document.write('<a href="mailto:' + 'pcheckers' + '@' + 'mcsdga.net' + '">');
document.write('pcheckers' + '@' + 'mcsdga.net' + '</a>');
//-->
</script>


Example of a Webpage Using This Script
Exercise in Inserting the No-Spam Javascript
Page Changed 05/12/2007

Home