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

Greasy fork 爱吃馍镜像

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

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

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

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

公众号二维码

扫码关注【爱吃馍】

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

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

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

公众号二维码

扫码关注【爱吃馍】

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

作者
koyasi777
日安装量
4
总安装量
209
评分
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.