3 ms·
Something I have found to work well is simply adding a hidden input field to forms. Since just about every spam bot automatically fills every field and submits,
by djitz 7y ago
Something I have found to work well is simply adding a hidden input field to forms. Since just about every spam bot automatically fills every field and submits, you can just disregard any submission which has that field populated and there is zero interruption to normal users.
- meowface 7y agoI've used this tactic for years and sadly it's not remotely helpful for any of my websites anymore. The bots only get better over time. Many are also running PhantomJS, headless Chrome, or similar.
- djitz 7y agoIt was only a matter of time! I imagine using a standard text field and then hiding it using css probably works much better than setting a type=“hidden” field. I also usually use something like name=“phone” and then just naming the actual phone field something else, if needed.
- tracker1 7y agoExcept then, you have autofill/extensions that form fill for you. Generating simple math question/answer can work well enough to keep out non-targeted traffic (someone not targeting a bot tailored to your site).