Webbläsartillägg för Firefox
  • Tillägg
  • Teman
    • för Firefox
    • Ordlistor & språkpaket
    • Andra webbläsarplatser
    • Tillägg för Android
Logga in
Förhandsvisning av AudioContext Suspender

AudioContext Suspender av h43z

Suspending AudioContext instances automatically

4.5 (4 reviews)4.5 (4 reviews)
132 användare132 användare
Du behöver Firefox för att kunna använda den här tillägget
Hämta Firefox och få tillägget
Hämta fil

Metadata för tillägg

Om detta tillägg
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
Betyg 4,5 av 4 recensenter
Logga in för att betygsätta detta tillägg
Det finns inga betyg än

Stjärnklassificering sparad

5
3
4
0
3
1
2
0
1
0
Läs alla 4 recensioner
Behörigheter och dataLäs mer

Nödvändiga behörigheter:

  • Åtkomst till dina data för alla webbplatser
Mer information
Länkar för tillägg
  • Webbplats för support
Version
1.4
Storlek
8,15 kB
Senast uppdaterad
för 9 månader sedan (28 okt 2024)
Relaterade kategorier
  • Annat
Licens
Mozilla Public License 2.0
Versionshistorik
  • Se alla versioner
Lägg till i samling
Rapportera detta tillägg
Versionsfakta för 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.
Fler tillägg av h43z
  • Det finns inga betyg än

  • Det finns inga betyg än

  • Det finns inga betyg än

  • Det finns inga betyg än

  • Det finns inga betyg än

  • Det finns inga betyg än

Gå till Mozillas hemsida

Tillägg

  • Om
  • Firefox tilläggsblogg
  • Verkstad för tillägg
  • Utvecklarcenter
  • Utvecklarpolicyer
  • Community-blogg
  • Forum
  • Rapportera en bugg
  • Recensionsriktlinjer

Webbläsare

  • Desktop
  • Mobile
  • Enterprise

Produkter

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Sekretess
  • Kakor
  • Juridisk information

Om inget annat anges, är innehållet på denna webbplats licensierat under licensen Creative Commons Attribution Share-Alike License v3.0 eller senare version.