浏览器扩展:防止网站捕获键盘快捷键
我的雇主使用一个问题跟踪软件(应保持匿名)捕获 CTRL + C 并触发“创建新票证”工作流程。我只想像平常一样使用 CTRL + C 从页面复制文本,而不是每次都跳转到页面标题处的弹出表单元素。这可以在全球范围内禁用,但我希望能够为自己关闭它。
我对浏览器扩展一无所知。我想知道的是:我可以为 Chrome 编写一个扩展程序,为 Firefox 编写一个插件,无论如何,在具有特定主机的 url 上,可以防止 CTRL + C 以这种烦人的方式被劫持吗?这样的东西已经存在了吗(它必须!!)?如果没有,我应该阅读什么才能开始,在哪里可以找到类似内容的示例?
非常感谢您提供任何链接/建议/片段。
My employer uses an issue tracking software (which shall remain nameless) that captures CTRL + C and triggers a "Create a new ticket" workflow. I just want to use CTRL + C like normal, to copy text from the page, without being jumped to a pop-up form element at the page header each time. This can be disabled globally, but I would like to be able to just turn it off for myself.
I don't yet know anything about browser extensions. What I would like to know is: can I write an extension for Chrome, an addon for Firefox, whatever, that will, at a url with a particular host, prevent CTRL + C from being hijacked in this annoying way? Does anything like this already exist (it must!!)? If not, what should I read to get started, where can I find samples of something similar?
Many thanks for any links/suggestions/snippets.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论