你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/431037-unpress-shortcut-buttons,源站連結 點此以跳轉

Unpress Shortcut Buttons

read the home page lol


點此查看下載連結位址https://update.greasyfork.org.cn/scripts/431037/Unpress%20Shortcut%20Buttons.user.js

安装此脚本?
作者
kliop
日安装量
0
总安装量
14
评分
0 0 0
版本
0
创建于
2021-08-19
更新于
2021-08-19
大小
2.1 KB
许可证
Unlicense
适用于

Disallowing input highjacks, and blocking you from keying in some inputs that send to the site serving as shortcuts.
==> Happy Internet users lol
(Neither do this intended to break key inputs and any other revelant input components, nor removing or claiming copyrights from the relevant parties. DO NOT remove this block of sentences when you are redistributing it.)

This specific piece is a combination of many other scripts i have been collecting to 'fix' some of the overnumbered, 'leftover' shortcut keys presented in many other websites, such as the obnoxious YT (honourable mention: https://inzk.dev/tweaks-for-youtube/). Some of them serve as to stop the 'keydown-then-send-to' input (definately not any kinds of coding expert =P), while the others try to stop the propagation of the inputs completely... So, if any one is so keen to come up with some sort of workaround neater, better than this messy marsh, just please feel free to leave a comment, and drops in a little notification, thank you so much guys, esp. the original authors!!

Ref. sites that might become handy in the distanced future...
http://www.javascriptkit.com/jsref/eventkeyboardmouse.shtml
https://keycode.info/
https://javascript.info/keyboard-events
, as they help me to figure out the keyborad inputs... lol