Disable YouTube Numbers

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

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

Bạn sẽ cần cài đặt một tiện ích mở rộng như Tampermonkey hoặc Violentmonkey để cài đặt kịch bản này.

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

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

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

You will need to install a user script manager extension to install this script.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Tác giả
Alyssa B. Morton
Cài đặt hàng ngày
0
Số lần cài đặt
4
Đánh giá
0 0 0
Phiên bản
1.2
Đã tạo
07-11-2025
Đã cập nhật
07-11-2025
Kích thước
1 KB
Giấy phép
MIT
Áp dụng cho

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