Disable top-row 1-9, numpad 1-9, 0, Home, and End keys on YouTube video pages
The Disable YouTube Numbers userscript prevents accidental jumps in YouTube videos by disabling number keys (top row 1-9, numpad 1-9), the 0 key, and Home/End keys. It runs only on video pages.
Step 1: Install a Userscript Manager
To use this script, install a userscript manager such as Violentmonkey or Tampermonkey in your browser.
Step 2: Add the Script
Copy the entire userscript code and create a new script in your userscript manager.
Step 3: Save and Enable the Script
After adding the script, save it and ensure it is enabled.
Step 4: Use YouTube Normally
Navigate to any YouTube video page. Number keys, 0, Home, and End keys will now be disabled on video pages.