我以为我发现了一个tampermonkey脚本,但它不起作用.你有什么智慧吗?
https://greasyfork.org/en/scripts/31704-imgur-remove-key-listener
如何禁用网站快捷键键盘热键?我使用Push to talk discord,键干扰了我的浏览体验.
我搜索谷歌搜索"unbind网站热键 - 浏览器"和"脚本禁用删除网站键盘热键"和"禁用imgur热键",但前20个链接没有结果.
// ==UserScript==
// @name Imgur remove key listener
// @namespace xxx
// @description Removes the key shortcuts on imgur
// @include *://imgur.com/*
// @version 1
// @grant none
// @locale en
// ==/UserScript==
$(document).unbind('keydown').unbind('keyup');
Run Code Online (Sandbox Code Playgroud)
当我按下键盘上的波形符/重音键时,上传对话框不应出现在imgur网站上.
javascript keyboard-shortcuts keyboard-events userscripts tampermonkey