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

Disable YouTube number shortcuts

Stop the anoying 0 to 9 YouTube shortcuts from ruining your wathing experience while allowing all the other shortcuts to work



點此查看下載連結位址https://update.greasyfork.org.cn/scripts/424823/Disable%20YouTube%20number%20shortcuts.user.js

安装此脚本?
作者
Éric Beaudoin
日安装量
0
总安装量
880
评分
8 0 0
版本
1.0
创建于
2021-04-10
更新于
2021-04-10
大小
1.3 KB
许可证
暂无
适用于

Disable YouTube number shortcuts

I wrote this script to intercept the 0 to 9 shortcuts used by the YouTube player. I often hit those keys by mistake while watching a video and find it very annoying. The 1 to 9 shortcuts are used normally to seek to the 10% to 90% of the video, but I never find any cases where I want to do that. I guess 0, goes to the start of the video, could be useful but the Home key already does that.

This script has been developed and tested using Chrome on Windows 10. It should be able to work with setups but you are on your own.

Future development

A better implementation would replace a shortcut with another one instead of removing the shortcut altogether. I haven't a need for that so the chance that I add this functionality is slim to none.

Acknowledgments

The idea and most of the code came from a stack overflow post by user Martin J. H.