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.

< Youtube Spacebar Pause/Play Fixについてのフィードバック

レート:可 - スクリプトは動作するがバグがある

§
投稿日: 2024/02/12

Also intercepts space in the search bar.

§
投稿日: 2024/02/24

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

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

§
投稿日: 2024/05/24

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 🥰

§
投稿日: 2024/05/25

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

返信を投稿

返信を投稿するにはログインしてください。