是否可以使用vbscript不断清除客户端剪贴板数据
我想知道是否可以使用网页中的 vbscript 不断清除客户端的剪贴板数据,直到他关闭该页面。
I want to know that Is it possible to keep clearing the client's clipboard data using vbscript from a webpage until he closes that page.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
与此类似的内容(代码改编自此 page) 可能有效:
虽然我假设(或至少希望)用户会收到有关此问题的安全警告,如果这是开放互联网上的网页,我会认为它是恶意的,因为我通常会打开网页并让它们保持打开状态,而我继续进行其他工作并会发现如果我的剪贴板每秒被覆盖一次,那真是太烦人了。
Something similar to this (code adapted from the code on this page) might work:
Though I'd assume (or at least hope) that the user would get security warnings about this and if this was for a webpage on the open internet I'd see it as malicious since I usually open web pages and leave them open while I continue with other work and would find it incredibly annoying if my clipboard got overwritten once a second.