
AudioContext Suspender โดย h43z
Suspending AudioContext instances automatically
คุณต้องมี Firefox เพื่อใช้ส่วนขยายนี้
Metadata ส่วนขยาย
เกี่ยวกับส่วนขยายนี้
Many websites seem to be opening AudioContexts (through the Web Audio API https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API) without ever suspending them, even if they don't play any sound.
This leads to high CPU utilization and therefore increased energy consumption of your devices. Which can also lead to bluetooth audio problems.
This extension fixes that problem. It automatically suspends newly created AudioContexts after 2 seconds.
The extension resumes an already auto suspended AudioContext for another 2 seconds if it detects that the webpage wants to play another sound.
If a websites needs to play sounds continuously or longer than 2 seconds with the Web Audio API you can disable the extension for the website with a localstorage entry with the key disableAudioContextSuspender and some truthy value.
code: https://github.com/h43z/audiocontextsuspender
created by: x.com/h43z
This leads to high CPU utilization and therefore increased energy consumption of your devices. Which can also lead to bluetooth audio problems.
This extension fixes that problem. It automatically suspends newly created AudioContexts after 2 seconds.
The extension resumes an already auto suspended AudioContext for another 2 seconds if it detects that the webpage wants to play another sound.
If a websites needs to play sounds continuously or longer than 2 seconds with the Web Audio API you can disable the extension for the website with a localstorage entry with the key disableAudioContextSuspender and some truthy value.
code: https://github.com/h43z/audiocontextsuspender
created by: x.com/h43z
ให้คะแนนประสบการณ์ของคุณ
สิทธิอนุญาตเรียนรู้เพิ่มเติม
ส่วนเสริมนี้ต้องการ:
- เข้าถึงข้อมูลของคุณสำหรับเว็บไซต์ทั้งหมด
ข้อมูลเพิ่มเติม
- ลิงก์ส่วนเสริม
- รุ่น
- 1.4
- ขนาด
- 8.15 KB
- อัปเดตล่าสุด
- 6 เดือนที่แล้ว (28 ต.ค. 2024)
- หมวดหมู่ที่เกี่ยวข้อง
- สัญญาอนุญาต
- Mozilla Public License 2.0
- ประวัติรุ่น
เพิ่มไปยังชุดสะสม
บันทึกประจำรุ่นสำหรับ 1.4
You can now disable the extension AudioContextSuspender for certain websites by creating a LocalStorage entry with the key disableAudioContextSuspender and a truthy value.
ส่วนขยายเพิ่มเติมโดย h43z
- ยังไม่มีการจัดอันดับ
- ยังไม่มีการจัดอันดับ
- ยังไม่มีการจัดอันดับ
- ยังไม่มีการจัดอันดับ
- ยังไม่มีการจัดอันดับ
- ยังไม่มีการจัดอันดับ