Izegrar i yiminig Firefox
  • Isiɣzaf
  • Isental
    • I Firefox
    • Imawalen & ikemmusen n tutlayin
    • Ismal nniḍen n tunigin
    • Izegrar i Android
Qqen
Taskant n AudioContext Suspender

AudioContext Suspender sɣur h43z

Suspending AudioContext instances automatically

4.5 (4 reviews)4.5 (4 reviews)
131 yiseqdacen131 yiseqdacen
Ilaq-ak·am Firefox i useqdec n usiɣzef-a
Sader Firefox syen awi isiɣzaf
Sader afaylu

Asiɣzef aɣefisefka

Ɣef usiɣzef agi
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
Qqen akken ad ternud tazmilt i usiɣzef-agi
Ulac tazmilt akka tura

Amḍan n yitran yettwasekles

5
3
4
0
3
1
2
0
1
0
Ɣeṛ akk 4 n iceggiren
Tisirag akked yisefkaIssin ugar

Yesra tisirag:

  • Kcem ɣer isefka-inek deg ismal web meṛṛa
Ugar n telɣut
TigIseɣwan n uzegrir
  • Asmel n tallelt
Lqem
1.4
Teɣzi
8,15 KB
Aleqqem aneggaru
10 μήνες πριν (28 Οκτ 2024)
Taggayin i ilan assaɣ
  • Wiyaḍ
Turagt
Turagt tazayezt n Mozilla 2.0
Amazray n Lqem
  • Wali akk ileqman
Rnu ar tegrumma
Mmel azegrir-a
Tizmilin n tuffɣa n 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.
Ugar n isiɣzaf sɣur h43z
  • Ulac tazmilt akka tura

  • Ulac tazmilt akka tura

  • Ulac tazmilt akka tura

  • Ulac tazmilt akka tura

  • Ulac tazmilt akka tura

  • Ulac tazmilt akka tura

Ddu γer usebter agejdan n Mozilla

Izegrar

  • Γef
  • Ablug n yizegrar Firefox
  • Tanemselt ɣef usiɣzef
  • Tarbaɛt n ineflayen
  • Tasertit i yineflayen
  • Ablug n temɣiwent
  • Anmager
  • Azen-d abug
  • Aḍris n ucegger

Iminigen

  • Desktop
  • Mobile
  • Enterprise

Ifarisen

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Tabaḍnit
  • Inagan n tuqqna
  • Usḍif

Ala ma yettwammel akken-nniḍen, agbur n usmel-agi yella ddaw n turagt Creative Commons Attribution Share-Alike v3.0 neɣ ileqman imaynuten.