Disable YouTube Music AutoPause

「视频已暂停。是否继续观看?」和「仍在观看?视频即将暂停」不再显示。

< 脚本 Disable YouTube Music AutoPause 的反馈

提问 / 留言

§
发布于:2025-07-07

It does not work now
Tested in latest edge and latest firefox with logged in and without
My use scenarios is repeat a specific video, and repeat it
You can test it with https://music.youtube.com/watch?v=PJubJoak5Co, but I tried several videos, and all face the same issue

§
发布于:2025-07-07
编辑于:2025-07-07

I cannot reproduce this issue yet.

Um. I am not sure whether it is due to the userscript manager or not. You need to enable the "Userscript Permission" in the latest edge. Firefox shall be no issue.

Suggest Edge to use ScriptCat

and Firefox to use Violentmonkey

§
发布于:2025-07-07

Sure, I don't enable that in edge, but actually face it in ff. I'll try to use the addon you suggest then report here

§
发布于:2025-07-07

Oh Wait. I found the reason now. I will fix it soon

§
发布于:2025-07-07

Please update to v2025.07.07.001

Play the music video in music.youtube.com

you should see this for long music video (e.g. 1hr) in DevTools.

This means the script successfully runs and able to detect the pausing. Then this script shall work without issue.

§
发布于:2025-07-07

Great! I'll test it tomorrow, thanks

§
发布于:2025-07-08

There is no luck, this time it just stop loading video and show error. By the time it shows error, I suppose it's happened nearly at the same time that it should trigger the autopause
And without the script, the autopause is triggered normally, so I think the issue is results from the script
I have tried Violentmonkey with only this script enabled, but the same

§
发布于:2025-07-08

Not sure if this happened because that I'm using a computer with my company's privacy, and also with vpn
I'll test this with my personal pc later

§
发布于:2025-07-08

!? This is weird. I don't think it is due to this script.

This script does nothing to the video playing.

Please try with other browsers as well.

§
发布于:2025-07-09

I have no chance to test in my personal pc, but in my company computer, even with edge, same issue still happened.
Before the error is shown, the video will loading for a long time and there are error messages in develop console.
I took some screenshot in attachment, these are only part of error messages, but should already cover all kinds of error messages.

§
发布于:2025-07-10
编辑于:2025-07-10

I think this is the issue of your browser or the ad blocking extensions.

Change your browser.

You can try https://zen-browser.app/

§
发布于:2025-07-11

I think you are right. Tested with zen, it works well with ublock origin, but in ff, the same setup just doesn't work. Can't understand why
BTW, I cannot see 'Detected youThereData' while using zen with this script, but it still work

§
发布于:2025-07-11

Besides, another script 'Disable YouTube AutoPause' works well in both ff and zen

发布留言

登录以发布留言。