html input autocomplete ="off ",html - Input field autocompleted, despite autocomplete="off" - Stack...

为了阻止机器人订阅邮件列表,采用了一种蜜罐字段策略。如果在提交时隐藏的hp123字段有值,后台会返回'bot detected'错误并忽略提交。然而,收到多个人工用户的投诉,他们不知何故触发了错误消息。尽管他们确认看不到隐藏字段,但可能有自动填充功能在他们不知情的情况下填写了内容。已将自动填充设置为关闭,并随机化了字段名,且输入框不可见,但仍存在问题。现在寻求进一步的解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

We're using a honeypot field to prevent bot subscriptions on an email subscription form:

If the hidden hp123 field contains a value when the form is submitted, our back end returns a 'bot detected' error and the submission is ignored.

This works well for the majority of submissions, however we've had multiple complaints from human users who have somehow triggered the error message.

They've confirmed that they can't see the hidden field, so something is likely to be autocompleting on their behalf.

Are there any further steps I can take to prevent this? Autocomplete is set to off, the name is randomised, and the input is outside of view.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值