Pause/Mute HTML5 Audio/Video On Leaving Tab

Pause or mute HTML5 audio/video on leaving a tab and restore them back on returning.

目前為 2018-03-01 提交的版本,檢視 最新版本

作者
jcunews
評價
0 0 0
版本
1.0.2
建立日期
2017-06-05
更新日期
2018-03-01
尺寸
1.7 KB
授權條款
AGPL v3
腳本執行於
所有網站

By default, this script will pause instead of mute. To make it to mute instead of pause, change the muteInsteadOfPause variable in the script from false to true.

This script will only pause/mute if the current tab has been fully loaded before switching to other tab. IOTW, it won't pause/mute if the current tab is still loading when switching to other tab.

QingJ © 2025

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