🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Disable YouTube AutoPause

"Video paused. Continue watching?" and "Still watching? Video will pause soon" will not appear anymore.

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Autor
𝖢𝖸 𝖥𝗎𝗇𝗀
Installationen heute
2
Installationen gesamt
6.990
Bewertungen
6 0 1
Version
2025.07.08.001
Erstellt am
27.12.2022
Letzte Aktualisierung
08.07.2025
Größe
11,3 KB
Lizenz
MIT
Wird angewandt auf

#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?" and "Still watching? Video will pause soon" 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

Result1:




Result 2:
Playlist: LoveLive! 強迫症專用µ's全曲完美歌單