Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
AudioContext Suspender 预览

AudioContext Suspender 作者: h43z

Suspending AudioContext instances automatically

4.5 (4 reviews)4.5 (4 reviews)
131 个用户131 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
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
评分 4.5(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
3
4
0
3
1
2
0
1
0
阅读全部 4 条评价
权限与数据详细了解

必要权限:

  • 访问您在所有网站的数据
更多信息
附加组件链接
  • 用户支持网站
版本
1.4
大小
8.15 KB
上次更新
9 个月前 (2024年10月28日)
相关分类
  • 其他
许可证
Mozilla 公共许可证 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 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。