Greasy Fork

Greasy Fork is available in English.

Auto Close YouTube Ads

Close and/or Mute YouTube ads automatically!

< 脚本Auto Close YouTube Ads的反馈

提问/评论

§
发表于:2025-03-20

Increase playback speed instead of skipping. Muting still works.

As (instantly) skipping doesn't work anymore, but muting still does, how about you increase the playback speed to 10x or something instead? This is as close to skipping as you can get without trusted events.
@ojczeo has proposed a change that worked before the update.
I tested it and it still works if you put it outside the if clause:

Add the following line below line 251:
document.querySelector('video').playbackRate = 10;

(Probably a lot more cleanup is possible because the skipping infrastructure isn't needed anymore, but this alone will work for people who find this in the meantime.)

发表回复

登录以发表回复。