This is my most-used JavaScript code; I include it on all of my pages.<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><script language="Javascript"><br />var ATSIGN = '@';<br />var PERIOD = '.';<br />var MT Â Â = 'mailto:';<br />var CEXT Â = 'com';<br />var NEXT Â = 'net';<br />var OEXT Â = 'org';<br />var AEXT Â = 'aol';<br /><br />function EM(ext, domn, urname, subj, linkText) {<br /> Â var addr;<br /> Â var sendingTo;<br /> Â addr = urname + ATSIGN + domn + PERIOD + ext;<br /> Â document.write(('<a href=http://www.totalchoicehosting.com/forums/lofiversion/index.php/"' + MT + addr + '?subject=' + subj + '"\>' + linkText + '</a>')); <br />}<br /></script><!--c2--></div><!--ec2--><br /><br />To use the function I do:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Â Â Â <script language="Javascript"><br /> Â EM(CEXT, 'hotmail', 'username', 'From website.com (Which Page)', 'FirstName LastName'); <br /> Â Â Â </script><!--c2--></div><!--ec2--><br /><br />This creates a mailto: link with the person's full name as the anchor and the referring site and/or page as the subject of the message.<br /><br />This is not, however, collected by email address harvesting spiders, since the HTML code does not contain an actual mailto link with an address.<br /><br />--Beth<br />(Yours for a spam-free world)<!--content-->
Whoa! Now that is a very cool protective feature for your visitors! Do they know how nice you are????<br /><br />Thanks for sharing this.<br /><br />Li<!--content-->
Thanks, Beth.<br /><br />For more info on that method, <a href="http://www.joemaller.com/js-mailer.shtml" target="_blank">read here</a>.<br /><br />There have also been other methods of "hiding" an email link on a page. Some essentially converting the @ sign. But I would suspect as web spiders get more intelligent, that will be an easy one to break. <a href="http://www.netmechanic.com/news/vol4/design_no21.htm" target="_blank">read here</a>.<br /><br />kw<!--content-->
Ok.. <br /><br />That is really cool really really cool...<br /><br />Thanks.<!--content-->
I do a couple of things similar to all the previously posted suggestions. Call me super paranoid <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/tongue.gif" style="vertical-align:middle" emoid="" border="0" alt="tongue.gif" /> <br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec--><script LANGUAGE="javascript"><br />var first = 'ma';<br />var second = 'il';<br />var third = 'to:';<br />var address = 'boxturt';<br />var domain = 'boxturt';<br />var ext = 'com'; <br />var sub = '?';<br />var suba = 'subject=Comments';<br />document.write('<a href=http://www.totalchoicehosting.com/forums/lofiversion/index.php/"');<br />document.write(first+second+third);<br />document.write(address);<br />document.write('@');<br />document.write(domain);<br />document.write('.');<br />document.write(ext); <br />document.write(sub);<br />document.write(suba);<br />document.write('">'); <br />document.write('Email Us</a>');<br /></script><!--QuoteEnd--></div><!--QuoteEEnd-->This seems to work pretty well. Sometimes I just convert to ALL ascii, but I don't know how safe that is.....<br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->boxturt@boxt<br />urt.com<!--QuoteEnd--></div><!--QuoteEEnd--><br />translates to my email addy. There is a good text to ascii converter here:<br /><a href="http://www.smithfam.com/" target="_blank">dascii.exe</a><!--content-->
<a href="http://notetab.com" target="_blank">NoteTab</a> text editor has this function built in.<br />its called hide email, just type the address and click to hide. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/ph34r.gif" style="vertical-align:middle" emoid="h34r:" border="0" alt="ph34r.gif" /><!--content-->
Here's some research info on email address obfuscation:<br /><br /><a href="http://www.cdt.org/speech/spam/030319spamreport.shtml" target="_blank">Spam Report</a><!--content-->
Whoa! Now that is a very cool protective feature for your visitors! Do they know how nice you are????<br /><br />Thanks for sharing this.<br /><br />Li<!--content-->
Thanks, Beth.<br /><br />For more info on that method, <a href="http://www.joemaller.com/js-mailer.shtml" target="_blank">read here</a>.<br /><br />There have also been other methods of "hiding" an email link on a page. Some essentially converting the @ sign. But I would suspect as web spiders get more intelligent, that will be an easy one to break. <a href="http://www.netmechanic.com/news/vol4/design_no21.htm" target="_blank">read here</a>.<br /><br />kw<!--content-->
Ok.. <br /><br />That is really cool really really cool...<br /><br />Thanks.<!--content-->
I do a couple of things similar to all the previously posted suggestions. Call me super paranoid <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/tongue.gif" style="vertical-align:middle" emoid="" border="0" alt="tongue.gif" /> <br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec--><script LANGUAGE="javascript"><br />var first = 'ma';<br />var second = 'il';<br />var third = 'to:';<br />var address = 'boxturt';<br />var domain = 'boxturt';<br />var ext = 'com'; <br />var sub = '?';<br />var suba = 'subject=Comments';<br />document.write('<a href=http://www.totalchoicehosting.com/forums/lofiversion/index.php/"');<br />document.write(first+second+third);<br />document.write(address);<br />document.write('@');<br />document.write(domain);<br />document.write('.');<br />document.write(ext); <br />document.write(sub);<br />document.write(suba);<br />document.write('">'); <br />document.write('Email Us</a>');<br /></script><!--QuoteEnd--></div><!--QuoteEEnd-->This seems to work pretty well. Sometimes I just convert to ALL ascii, but I don't know how safe that is.....<br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->boxturt@boxt<br />urt.com<!--QuoteEnd--></div><!--QuoteEEnd--><br />translates to my email addy. There is a good text to ascii converter here:<br /><a href="http://www.smithfam.com/" target="_blank">dascii.exe</a><!--content-->
<a href="http://notetab.com" target="_blank">NoteTab</a> text editor has this function built in.<br />its called hide email, just type the address and click to hide. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/ph34r.gif" style="vertical-align:middle" emoid="h34r:" border="0" alt="ph34r.gif" /><!--content-->
Here's some research info on email address obfuscation:<br /><br /><a href="http://www.cdt.org/speech/spam/030319spamreport.shtml" target="_blank">Spam Report</a><!--content-->