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

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

作者
koyasi777
今日安裝
1
安裝總數
27
評價
0 0 0
版本
1.0.1
建立日期
2025-07-21
更新日期
2025-07-24
尺寸
4.1 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.

QingJ © 2025

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