![]() ![]() In my experience, I only get CAPTCHAs right about half the time, and would never chose to use them, if at all avoidable. ![]() TL:DR: By using JavaScript to dynamically change metadata on the "Send" button to a randomly generated value, you can prevent most web crawling robots (AKA “spambots”) from auto-completing your web form.īefore we get into the details of the suggested JavaScript approach, let's first review other available techniques.Ī CAPTCHA, or backronym for "Completely Automated Public Turing test to tell Computers and Humans Apart", is that incredibly annoying little image and form that requires you to type the displayed text. In addition, by hosting the code on just one of my servers, and referencing it via an iframe, I only need to maintain the server side code and JavaScript in a single location (more on that in a future post). I realize now that this solution has been working well for several years across dozens of websites. So a while back I decided to look into possible solutions and implement a basic level of protection. ![]() Tired of getting junk emails from bots hitting your email contact, survey, or other web form on your site? Yeah, I was too. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |