Hiding Your E-mail Address From Spammers
|
<a href="mailto:yourname@yourdomain.com">yourname@yourdomain.com</a> The code above will show up as the address below when placed on your website: To hide your address you must use something other than the standard code. The easiest way is to use a JavaScript. The JavaScript will not appear to be an e-mail address to the robot looking for e-mail addresses. but when it is displayed by a browser it appears and works just like an e-mail link. The JavaScript below can be used in the same place as the code above: <script LANGUAGE="JavaScript"> document.write('<a href=\"mailto:' + user + '@' + site +
'.com\">'); The code above will create the following link when run in a browser: As you can see the results are the same when somebody looks at your website, but to the spammer's robots the two methods are entirely different. The spammer will collect the first address but will not collect the second. It is true the spammer could reprogram the robot to collect the address from the JavaScript but this is unlikely as the JavaScript can be re-written in thousands of ways. While this is not a completely fool proof method it will be successful in most cases. Use this method along with a forwarding address. If the address does start receiving spam you can easily change it. NEVER post your "real" or permanent address on your website. If you need help making a JavaScript for your website please contact our service department. they wil write the script for you and help you install it.
|