You know the CAPTCHA images (called also Turing codes) are used everywhere – on blogs, forums, registration and contact forms – to stop spammers. They work almost perfect.
But they are boring.
The Captcha can significantly decrease the rate of feedback (comments) you get on your blog, the contact inquiries you receive, the registrations on your membership site or even the orders on your e-store.
They are discriminative to people who can’t see well and often confuse these who are not used to them.
Some Captcha-s are hard to be “decoded” even from a well seeing person.
By rough estimate requiring the users to enter Turing code can decrease their participation with up to 50% percents.
There are some other methods to stop the spam bots, which are less discriminative than the Captcha. For example some blogs will ask you “How much is 1 + 5″ or “Is the fire hot or cold?” to check if you are human and not a bot. These methods are good, but they also require the active participation of the user and can push them off.
The Elegant Solution To Stop Spam Bots
I implemented this solution for a site which was using custom coded by me CMS system. There were no Turing codes or any other tools to prevent from spamming and the site quickly get flooded with spam comments.
Let me take you straight to the solution. It sopped 100% of the spam comments:
- Create a hidden field in the feedback (comment, registration or whatever) form
Here is an example:
//give the hidden field some meaningful name, like for example “website”. The spambot
//will fill it with some crap or will ignore it document.getElementById(“website”).value=”http://google.com/”;
Now in the body, start the function:
<body onload=” cheatSpammers();”>
Then in the contact/comment form, add the hidden field. We will not make it “hidden”, to avoid smarter bots which can mark such field as suspicious. Instead, we’ll make it hidden with CSS:
<input type=”text” class=”websitefield” name=”website”>
Do you have even better ideas how to outsmart the spammers? Please share!
Filed under: Technology Made Simple