实施拖拽提交表单
我厌倦了那些混蛋在我的网站上发送垃圾邮件,我讨厌那些愚蠢的验证码东西,而我的客户已经对我网站上的验证码感到厌烦了。
所以,我有一个想法。如果有一条小线怎么办?他们所要做的只是简单地将一个圆圈从线的左侧拖到右侧。一旦圆圈到达放置目标(行尾),表单就会提交。听起来很简单?无需为了提交表单而不方便地输入一些随机的废话!
请参阅演示图片:
有谁知道我将如何实现这样的事情?有人可以帮我吗?我需要一点指导。
谢谢
I am sick to death of assholes spamming my site, and I hate those stupid Captcha things, and my customers have had it up to their necks with the captcha on my site.
So, I had an idea. What if there was a small line. And all they had to do was simply drag a circle from the left of the line to the right. And once the circle reaches the drop-target (end of the line), the form will then submit. Sounds simple? No need to inconveniently type some random crap just to submit a form!
See demo pic:
Does anybody know how I would implement something like this? Can someone please help me? I need a little direction.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这似乎是一种相当迂回的方法,大多数垃圾邮件机器人首先不会执行 JavaScript,我的解决方案是使用 JavaScript 自动填充隐藏字段,或者简单地使用 JavaScript 填充表单的操作部分。
That seems like a rather roundabout way of doing it, most spambots dont execute JavaScript in the first place, my solution would be to autofill a hidden field using javascript, or simply fill the action part of a form using javascript.