你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/463632-youtube-pause-background-videos,源站連結 點此以跳轉

YouTube - Pause background videos

Pause videos playing in other background tabs. When you start playback of a video in foreground tab, background playback will be paused.


點此查看下載連結位址https://update.greasyfork.org.cn/scripts/463632/YouTube%20-%20Pause%20background%20videos.user.js

安装此脚本?
作者
q1k
日安装量
0
总安装量
159
评分
0 0 0
版本
1.0.1
创建于
2023-04-09
更新于
2023-04-16
大小
1.8 KB
许可证
暂无
适用于

Auto pause videos playing in background tabs

When starting playback in a foreground tab, all background playback will be paused.
You can open many videos in new tabs, then switch to them and the other tabs will be automatically paused.



done:

  • pause background videos when foreground video started playback
  • don't pause foreground video when background video starts

to do (eta: soon™):

  • don't pause background videos if foreground video starts muted
  • pause videos that started playing in a background tab, eg. after a reload (possible conflict with browser/system controls)



Other scripts you may like: