hwg-basics archives | Jan 2002 | new search | results | previous | next |
Not necessarily. Intelligent spyders will be able to read this with no problem because the JavaScript actually writes the email address with the page as it is rendered. On top of that, using JavaScript places this in the context of a user dependency -- if a user has JavaScript turned off, they will not see the email address. Another method is to encode the email address, changing it from its ASCII characters into its decimal equivalents. You can go to http://www.wbwip.com/wbw/emailencoder.html and try it yourself. So this address, yourname(at)youraddress.com is encoded to yourname@youraddress.com A web page using this type of encoding will "display" the email address to the human user as yourname(at)youraddress.com, but the actual source code will be in decimal. If you are afraid you might mess up the long decimal coding, then use only those parts as necessary. Changing only the "@" in an address makes it a bit easier: yourname@youraddress.com Kukla At 09:00 AM 1/21/02 -0600, SASS_head_ wrote: >This will keep robots from finding your email address while scanning your >site. It will make it a little harder for people to see it too. You could >probably hide it in an external file too so people couldn't see it by >looking at the page source. > ><script language="Javascript"> ><!-- >var name="yourname"; >var atsign="@"; >var domain="yourdomain"; >var dotcom=".com"; >document.write("<div align=center>Contact me "); >document.write("<a href=mailto:", name+atsign+domain+dotcom,">HERE</a>"); >document.write("</div>"); >//--> ></script> > >-- >SASS_head_ >headworms.net > > > From: Lori Eldridge <lorield(at)qwest.net> > > Date: Fri, 18 Jan 2002 17:59:02 -0800 > > To: hwg-basics(at)hwg.org > > Subject: hide email address > > > > Hi All, > > > > I'm getting so much junk email now (I have my email address scattered > over 12 > > websites) and I'm wanting to hide the addy from spammers. I know there is a > > code to enable a person to email you but it doesn't show the email > address and > > also spammers can't have access to it. > > > > Anyone know how to do this? > > > > thanks in advance, > > lori > > _________________________________________________________ Do You Yahoo!? Get your free (at)yahoo.com address at http://mail.yahoo.com
HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA