Disable YouTube Numbers

Disable top-row 1-9, numpad 1-9, 0, Home, and End keys on YouTube video pages

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Autor
Alyssa B. Morton
Dziennych instalacji
1
Wszystkich instalacji
4
Oceny
0 0 0
Wersja
1.2
Utworzono
07-11-2025
Zaktualizowano
07-11-2025
Rozmiar
1,33 KB
Licencja
MIT
Dotyczy

Description:


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.

Features:

  • Disables top-row number keys (1–9)
  • Disables numpad number keys (1–9)
  • Disables the 0 key
  • Disables Home and End keys
  • Only active on YouTube video pages (/watch URLs)
  • Lightweight and efficient

Instructions:


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.

Notes:

  • The script only affects YouTube video pages (/watch URLs)
  • You can modify the script to allow the 0 key while still blocking other keys
  • If the script doesn’t work immediately, refresh the page or restart the browser