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..

§
發表於:2024-10-22

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

Thank you, I didn't notice thant. I'll fix this ASAP

發表回覆

登入以回復

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址