[Javascript] Hiding email addresses

John Warner john at jwarner.com
Thu Sep 28 07:52:22 CDT 2006


So at the bottom of this discussion, what is the consensus best way to
include contact info but 'discourage' spambots?

John Warner


> -----Original Message-----
> From: javascript-bounces at LaTech.edu 
> [mailto:javascript-bounces at LaTech.edu] On Behalf Of David Dorward
> Sent: Thursday, September 28, 2006 3:16 AM
> To: [JavaScript List]
> Subject: Re: [Javascript] Hiding email addresses
> 
> 
> On Thu, Sep 28, 2006 at 03:06:13PM +0900, Scott Petersen wrote:
> > <p><a href="#" onclick="mailsomething(0)">Send Mail</a></p>
> 
> > This should send mail to BigBoy at someDomain.com. My question 
> is: Does 
> > this really slow down the address collectors?
> 
> It probably slows down some ... but its really not hard to 
> write a bot that can handle Javascript. I put together a 
> proof of concept earlier this year, 
> http://blog.dorward.me.uk/2006/02/02/spambots_that_drink_coff> ee.html
> 
> (That won't cover your particular code, but its just a proof 
> of concept).
> 
> The code you provided would also leave users without 
> JavaScript unable to contact you, and make it rather 
> difficult to copy/paste the email address (e.g. for users of 
> webmail services).
> 
> -- 
> David Dorward                                      
http://dorward.me.uk





More information about the Javascript mailing list