Pause/Mute HTML5 Audio/Video On Leaving Tab

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ผู้เขียน
jcunews
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
253
คะแนน
8 0 0
เวอร์ชัน
1.0.5
สร้างเมื่อ
05-06-2017
อัปเดตเมื่อ
16-03-2021
Size
2.1 กิโลไบต์
สัญญาอนุญาต
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.