[英]Can a bot 'click' a JavaScript link on a web page?
We have a platform that sends survey emails - the link in the email takes the user to a web page that asks a series of questions. 我们有一个发送调查电子邮件的平台-电子邮件中的链接将用户带到询问一系列问题的网页。
To answer the question, the user clicks the answer they select - this uses a JavaScript onclick to register the answer. 为了回答问题,用户单击他们选择的答案-这使用JavaScript onclick注册答案。
We're aware that some security software (like Barracuda) follows links in emails to determine if the end point is a risk, but is there any way that this can trigger the onclick
actions on the page? 我们知道某些安全软件(例如,梭子鱼)会通过电子邮件中的链接来确定终点是否存在风险,但是有什么办法可以触发页面上的
onclick
操作?
If so, is there any way to distinguish between bots & users? 如果是这样,有什么方法可以区分漫游器和用户吗?
I have considered adding a delay to the page so that answers can only be registered x seconds after the page loads, but this seems a poor way to fix this. 我已经考虑过在页面上添加延迟,以便只能在页面加载后的x秒内注册答案,但这似乎是解决此问题的一种较差的方法。
Bots can 100% navigate/click through webpages. 漫游器可以100%浏览/点击网页。
The way to do this would be to get a reference to an HTML element, and then call the .click()
method on the element. 这样做的方法是获取对HTML元素的引用,然后在该元素上调用
.click()
方法。
Likely the best way you can defeat this is by adding a CAPTCHA or other human verification service to the start of your survey. 解决这个问题的最佳方法可能是在调查开始时添加CAPTCHA或其他人工验证服务。
References: http://www.captcha.net/ 参考: http : //www.captcha.net/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.