Skip to content

Add YouTube hotkeys disabling script details#101

Open
VKrishna04 wants to merge 2 commits intoawesome-scripts:masterfrom
VKrishna04:master
Open

Add YouTube hotkeys disabling script details#101
VKrishna04 wants to merge 2 commits intoawesome-scripts:masterfrom
VKrishna04:master

Conversation

@VKrishna04
Copy link

Added details for disabling YouTube hotkeys with a modern settings page.

Added details for disabling YouTube hotkeys with a modern settings page.
Add YouTube hotkeys disabling script details
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new userscript entry for "Disable YouTube Hotkeys with Modern Settings Page" to the README's YouTube section.

Changes:

  • Added a new collapsible details section for the "Disable YouTube Hotkeys" userscript with description, installation link, project view link, and bug report link

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

### <picture><source type="image/png" media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/awesome-scripts/awesome-userscripts@f11c95f/assets/images/icons/sites/youtube/white/icon32.png"><img height=17 src="https://cdn.jsdelivr.net/gh/awesome-scripts/awesome-userscripts@f11c95f/assets/images/icons/sites/youtube/icon32.png"></picture> YouTube

<details> <!-- Disable YouTube Hotkeys with Modern Settings Page -->
<summary><a href="https://greasyfork.org/en/scripts/563265-disable-youtube-hotkeys-with-modern-settings-page">Disable YouTube Hotkeys</a> - with Modern Settings Page</summary><br>
Copy link

Copilot AI Jan 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The summary text appears to redundantly repeat part of the script title. The link text "Disable YouTube Hotkeys" is followed by " - with Modern Settings Page", but this phrase is already part of the script's full name. Consider either using the full title in the link text without the repetitive suffix, or replacing the suffix with a more descriptive summary of what the script does (following the pattern of other entries like "Simple Sponsor Skipper" which has a functional description rather than repeating the title).

Suggested change
<summary><a href="https://greasyfork.org/en/scripts/563265-disable-youtube-hotkeys-with-modern-settings-page">Disable YouTube Hotkeys</a> - with Modern Settings Page</summary><br>
<summary><a href="https://greasyfork.org/en/scripts/563265-disable-youtube-hotkeys-with-modern-settings-page">Disable YouTube Hotkeys</a> - Disable various YouTube hotkeys with fine-grained control.</summary><br>

Copilot uses AI. Check for mistakes.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure then move the with Modern Settings page to the title and then add the Disable various YouTube hotkeys with fine-grained control. beside

Copy link
Member

@adamlui adamlui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sup @VKrishna04 can you tell me what does the userscript do? Thanks! (i.e. what are the hot keys disabled and then I can test it because left/right arrows still seek to frames)

@VKrishna04
Copy link
Author

VKrishna04 commented Mar 23, 2026

Sup @VKrishna04 can you tell me what does the userscript do? Thanks! (i.e. what are the hot keys disabled and then I can test it because left/right arrows still seek to frames)

Sorry about the delay —

Hey! Thanks for checking.

This is not just “disable numbers” — it’s a fine‑grained YouTube hotkeys blocker. The script intercepts keyboard events on youtube.com (keydown/keypress/keyup, capture phase) and, depending on the toggles you enable, it blocks specific shortcuts by calling preventDefault() + stopPropagation() (but it does NOT block anything while you’re typing in an input/textarea/contenteditable — so search/comments/chat are excluded).

Hotkeys it can block (configurable)

Timeline / seeking

  • 0–9 → jump to % of timeline
  • ← / → → rewind/forward (5s)
  • j / l → seek −10s / +10s
  • , / . → frame-by-frame navigation
  • Ctrl + ← / → → chapter navigation (prev/next chapter)

Playback / UI

  • Space → play/pause (optional)
  • k → play/pause (optional)
  • f → fullscreen (optional)
  • t → theatre mode (optional)
  • i → miniplayer (optional)
  • m → mute/unmute (default ON)

Other YouTube shortcut panels / controls

  • Shift + / (aka ?) → “Keyboard shortcuts” help overlay (optional)
  • ↑ / ↓ → volume up/down (optional)
  • Shift + < / Shift + > → playback speed control (optional)

(There are also extra toggles for some player “advanced” behaviors like text/window opacity, font size +/- and pan/zoom keys — they’re off by default.)

Defaults (important for your test)

By default it blocks:

  • 0–9
  • Ctrl+Left, Ctrl+Right
  • m

…and it does NOT block left/right arrows unless you enable the “Disable Progress Forward / Rewind (← →)” toggle.

About your note (left/right still seeking)

That’s expected with default settings: left/right is not blocked by default in the current script.
If you enable the horizontal arrows toggle, then ←/→ should stop seeking (and if it still seeks after enabling it, tell me your browser + userscript manager and whether the player is focused).
And try once again after reloading.

VKrishna04,
Life Experimentalist

Copy link
Member

@adamlui adamlui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dude there is nothing in the PR or even GF link to indicate all of what you said so it is really strange user has to guess what happens when left/right (probably the most used hotkeys on YouTube) didn't get disabled, also if you're gonna use AI to explain it to me (which is just really weeird like you're a human and just made me zone you out just like AI does) why not make a README for it instead?

i.e. Awesome List is not your "testing ground" like I am not unpaid QA you should have things ready in a polished README yourself and expect to succeed w/o reliance on the List i.e. make everything perfect including README, then it can be tested for working or not (according to README) and then is it Awesome

That is at least better than forcing me to be like product managing or QA for you before you're even ready (which I will gladly do but at least put some work into it first, when you use AI to talk to people it just makes them feel disrespected like you couldn't even bother to type literal setences yourself for their undivided attention, forget about the code)

Copy link
Member

@adamlui adamlui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VKrishna04 also I konw you used DeepSeek cuz the employees made it talk/code/reason like me in recent months (your 'and' is '+' and arrow symbols etc. were the dead giveaways, that's why I abandoned them) which made it even more weird when you pasted it to me...

@adamlui
Copy link
Member

adamlui commented Mar 23, 2026

(DeepSeek employees obsessively read my chats, that's why the deep thought is "collapsible" now my last msg I asked why are you sayin things in your thoughts to me, also they stole my menu design from CWM which is really popular in China where they work to collapse it, it keeps trending #1 on Edge Store six months in row now is how they installed it and pieced 2 and 2 the author is me then chat spying began)

@adamlui
Copy link
Member

adamlui commented Mar 23, 2026

(OpenAI does the same thing too is why I abandoned them too lol it is like ping pong like everyone trying to rape my brain)

@adamlui
Copy link
Member

adamlui commented Mar 23, 2026

Actually even their awesome repo creation and design was based off this one

@adamlui
Copy link
Member

adamlui commented Mar 23, 2026

So do you see how weird that was. You used AI to write a script, it didn't work as you initially described, then you used AI that is like my persona to tell me why it didn't work lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants