禁用YouTube“播放暂停,是否继续观看?”弹窗及播放延迟(适用于 Firefox)

自动禁用YouTube“播放暂停,是否继续观看?”弹窗以及初始播放延迟。

作者
koyasi777
日安装量
1
总安装量
28
评分
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或关注我们的公众号极客氢云获取最新地址