Pengaya Peramban Firefox
  • Ekstensi
  • Tema
    • untuk Firefox
    • Kamus & Paket Bahasa
    • Situs Peramban Lainnya
    • Pengaya untuk Android
Masuk
Pratinjau dari AudioContext Suspender

AudioContext Suspender oleh h43z

Suspending AudioContext instances automatically

4.5 (4 reviews)4.5 (4 reviews)
131 Users131 Users
Anda memerlukan Firefox untuk menggunakan ekstensi ini
Unduh Firefox dan dapatkan ekstensinya
Unduh berkas

Metadata Ekstensi

Tentang ekstensi ini
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
Rated 4,5 by 4 reviewers
Masuk untuk menilai ekstensi ini
Belum ada peringkat

Peringkat bintang tersimpan

5
3
4
0
3
1
2
0
1
0
Baca semua 4 ulasan
Permissions and dataPelajari lebih lanjut

Required permissions:

  • Mengakses data Anda pada semua situs
Informasi lebih lanjut
Tautan Pengaya
  • Situs dukungan
Versi
1.4
Ukuran
8,15 KB
Terakhir dimutakhirkan
9 bulan yang lalu (28 Okt 2024)
Kategori Terkait
  • Lainnya
Lisensi
Lisensi Publik Mozilla 2.0
Riwayat Versi
  • Lihat semua versi
Tambahkan ke koleksi
Laporkan pengaya ini
Catatan rilis untuk 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.
Ekstensi lain dari h43z
  • Belum ada peringkat

  • Belum ada peringkat

  • Belum ada peringkat

  • Belum ada peringkat

  • Belum ada peringkat

  • Belum ada peringkat

Ke beranda Mozilla

Pengaya

  • Tentang
  • Blog Pengaya Firefox
  • Lokakarya Ekstensi
  • Pusat Pengembang
  • Kebijakan Pengembang
  • Blog Komunitas
  • Forum
  • Laporkan kutu
  • Panduan Ulasan

Peramban

  • Desktop
  • Mobile
  • Enterprise

Produk

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privasi
  • Kuki
  • Legal

Terkecuali saat dicatat berbeda, konten dalam situs ini dilisensikan di bawah Creative Commons Attribution Share-Alike License v3.0 atau versi lain yang lebih baru.