Disable YouTube AutoPause

「影片已暫停,要繼續觀賞嗎?」和「你還在螢幕前嗎?影片即將暫停播放」不再顯示。

目前為 2023-05-01 提交的版本,檢視 最新版本

作者
𝖢𝖸 𝖥𝗎𝗇𝗀
評價
0 0 0
版本
2023.04.27
建立日期
2022-12-27
更新日期
2023-05-01
尺寸
8.6 KB
授權條款
MIT
腳本執行於

#No Auto Pause #No Confirm Continue Watching #Continue Playing Music Songs in background #Yes I am Here #Yes I'm here #youtube continue play

YouTube Music version: Disable YouTube Music AutoPause

This Userscript is to disable the YouTube built-in feature that showing "Video paused. Continue watching?" after being inactive for a while.

このUserscriptは、「動画が一時停止されました。続きを視聴しますか?」という YouTube の組み込み機能を無効にします。

此Userscript用於停用 YouTube 內置的「影片已暫停,要繼續撥放嗎?」。






Suggested Related Scripts

Remarks:
window._lact and window._fact will not be changed which might affect the YouTube scheduling engine's coding.

Userscripts with Similar Functions but different implementations:
_lact removal: https://greasyfork.org/en/scripts/447802-youtube-web-tweaks/
youthereDataChanged_ & youThereData_ removal: https://greasyfork.org/en/scripts/401348-yes-i-m-here-youtube/
#confirm-button clicking: https://greasyfork.org/en/scripts/391504-youtube-video-paused-continue-watching-nuker
Simulated Clicking and document page hacking: https://greasyfork.org/en/scripts/390352-youtube-stay-active-and-play-forever

The key point is the youthereDataChanged_().

Test: https://www.youtube.com/watch?v=6AC6XoDK6eo

Result: