Page is a not externally linkable
- Hardware and OS Related Technologies
-- Website Technology Issues
---- E-mail harvesting


rcjordan - 11:15 pm on Apr 24, 2000 (gmt 0)


use this instead of html mailto

 
<script language=javascript>
<!--
var visname = "Site Maintenance";
var recip01 = "tech";
var dom02 = "yourdomain.com";
document.write("<a href=" + "mail" + "to:" + recip01 + "@" +
dom02 + ">" +
visname + "</a>")
//-->
</script>


The 'document.write line cannot have linebreaks as it does here.
I haven't come up with a way to do it in forms yet, but using it everywhere else has cut spam to me by 90%

If you have email addresses sprinkled all over the site, you could put this in a js stylesheet and call up email with a function. This would let you change aliases at a central point and have them flow throughout the site... handy if any one email address gets to be a huge problem. Also, in a related note, stay away from "webmaster@" in general. There may be other prefixes ("info@" perhaps) that have a high chance of use so they just a blind spam.


Thread source:: http://www.webmasterworld.com/website_technology/3.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com