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

發表回覆

登入以回覆

QingJ © 2025

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