Greasy Fork is available in English.

Youtube Spacebar Pause/Play Fix

A Youtube bug disables the space key shortcut, which often happens when you change windows and return to Youtube, often with the ALT + TAB shortcut. This script ensures that the spacebar PAUSE / PLAY shortcut works correctly.

< Spätná väzba na Youtube Spacebar Pause/Play Fix

Hodnotenie: OK - skript funguje, ale má chyby

§
Pridaný: 12.02.2024

Also intercepts space in the search bar.

§
Pridaný: 24.02.2024

Added line 80
const YoutubeSearchFieldSelector = '.ytd-searchbox';

Changed formerly line 100 now line 101 to
if (e.target.matches(YoutubeCommentFieldSelector) || e.target.matches(YoutubeSearchFieldSelector)){

§
Pridaný: 24.05.2024

Yeah, I fixed that long ago but forgot to update it here sorry, it should work just fine now

And thank you TsukiZero that's what I did except I used #search instead, but it's the same 🥰

§
Pridaný: 25.05.2024

It also intercepts the space input in the report section, now that I checked..

Pridať odpoveď

Aby ste mohli pridať odpoveď, prihláste sa.