How about the "honeypot" method that was presented on CFMeetup a few months ago? I was planning to implement that method. Users don't even know it's working. Any drawbacks?
Rick -----Original Message----- From: Claude Schnéegans <[email protected]> [mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans <schneegans@interneti=71?= =?ISO-8859-1?Q?ue.com=3E?=] Sent: Wednesday, October 12, 2011 9:45 AM To: cf-talk Subject: Re: Hiding email address from spiders >>That is a nice captcha.. most of them are so hard for people to read that it discourages some people. You've got a point. Never forget that a Web site is first intended to be comfortable for the visitor, not for the programmer. With a captcha, the programmer can sleep quietly, but the visitor will only see some kind of paranoid annoyance. AS recently as yesterday I had to submit a form 3 times before I could read the characters in the Captcha. There are many tricks transparent to the visitor to ensure that a form is not submitted by a robot. One of them is to trigger the submit by Javascript on some onclick event. The Javascript can for instance add an extra field that the action template will check. Most of robots don't click. Replacing email mailto: by a form is another sort of annoyance (unless the address must be absolutely hidden, even to a human visitor). You don't keep a copy of the message in your email software, and many times the message is refused because of some stupid error and you lose the content of your message. I use this to make sure an address cannot be seen by a robot : 1º convert the address by replacing @ by % and dot by say + function hideMail(address) { return replace(replace(address, "@", "%"), ".", "+", "all"); } In any page : <A HREF="mailto:#hideMail(Email)#" onClick="getMails(this)"> getAddress () is a javascript function which restitutes the correct address. this way, the visitor can send the message just like the full address was in the code : function getMail(a) { a.href = a.href.replace(/+/g, "."); a.href = a.href.replace(/%/, "@"); } Just put these functions in your application.cfm or cfc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348074 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

