I decided to add one simple thing to my website's contact form: a hidden blank input field.

My mailer script checks if this field has content (which it shouldn't), and if it does, it doesn't send the message to me.

I've caught 9 bots in the past 5 days this way.

#webdev

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml