停用YouTube「播放已暫停,是否繼續觀看?」提示視窗與播放延遲

自動停用YouTube 的「播放已暫停,是否繼續觀看?」提示與初始播放延遲。

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
koyasi777
今日安裝
2
安裝總數
273
評價
1 0 0
版本
1.0.2
建立日期
2025-07-21
更新日期
2025-09-07
尺寸
4.0 KB
相容性
相容於 Firefox
授權條款
MIT
腳本執行於

Disable YouTube "Experiencing interruptions?" Popup and Playback Delay For Firefox

📌 Overview

This userscript automatically disables the confirmation popup and a few seconds of playback delay that appear during the initial load of a new tab or page on YouTube. For example:

  • "Experiencing interruptions?" (Japanese: 「再生が中断されていますか?」)

No more interruptions or playback stalls when opening new tabs or loading YouTube pages.


🚀 Installation

  1. Install a userscript manager:
  2. Click below to install the script:
    👉 Install This Script

⚙️ How It Works

  • The script intercepts access to the ytInitialData property early in the page lifecycle
  • It overrides YouTube’s internal logic that schedules inactivity popups
  • Executed at document-start to prevent popup logic from initializing

🧪 Compatibility

  • ✅ YouTube desktop site (https://www.youtube.com/*)
  • ✅ Tested with latest Chrome and Firefox
  • ✅ Works with Tampermonkey and Violentmonkey

📜 License

MIT License
Free to use, modify, and redistribute. Use at your own risk.