Add-ons foar Firefox Browser
  • Utwreidingen
  • Tema’s
    • foar Firefox
    • Wurdboeken en taalpakketten
    • Oare browserwebsites
    • Add-ons foar Android
Oanmelde
Foarbyld fan AudioContext Suspender

AudioContext Suspender troch h43z

Suspending AudioContext instances automatically

4.5 (4 reviews)4.5 (4 reviews)
134 brûkers134 brûkers
Jo hawwe Firefox nedich om dizze útwreiding te brûken
Firefox downloade en de útwreiding ûntfange
Bestân downloade

Metadata útwreiding

Oer dizze útwreiding
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
Wurdearre: 4,5 troch 4 beoardielers
Meld jo oan om dizze útwreiding te wurdearjen
Der binne noch gjin wurdearringen

Stjer-wurdearring wurdt bewarre

5
3
4
0
3
1
2
0
1
0
4 beoardielingen lêze
Tastimmingen en gegevensMear ynfo

Fereaske machtigingen:

  • Jo gegevens foar alle websites benaderje
Mear ynformaasje
Add-on-keppelingen
  • Stipewebsite
Ferzje
1.4
Grutte
8,15 KB
Lêst bywurke
9 moannen lyn (28 okt. 2024)
Sibbe kategoryen
  • Oars
Lisinsje
Mozilla Public License 2.0
Ferzjeskiednis
  • Alle ferzjes besjen
Tafoegje oan kolleksje
Dizze add-on rapportearje
Utjefte-opmerkingen foar 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.
Mear útwreidingen fan h43z
  • Der binne noch gjin wurdearringen

  • Der binne noch gjin wurdearringen

  • Der binne noch gjin wurdearringen

  • Der binne noch gjin wurdearringen

  • Der binne noch gjin wurdearringen

  • Der binne noch gjin wurdearringen

Nei Mozilla’s startside

Add-ons

  • Oer
  • Firefox-add-onsblog
  • Utwreidingsworkshop
  • Untwikkelershub
  • Untwikkelersbelied
  • Mienskipsblog
  • Foarum
  • In bug melde
  • Beoardielingsrjochtlinen

Browser

  • Desktop
  • Mobile
  • Enterprise

Produkten

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Juridysk

Utsein oars vermeld, is op de ynhâld fan dizze website de Creative Commons Attribution Share-Alike License v3.0 of lettere ferzje fan tapassing.