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

Tab Volume Manager 版本历史 - 2 个版本

Tab Volume Manager 作者: Nikola

评分 5 / 5
5 / 5 星
5
1
4
0
3
0
2
0
1
0
Tab Volume Manager 版本历史 - 2 个版本
  • 小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。

  • 最新版本

    版本 1.1

    发布于 2026年3月22日 - 20.13 KB
    适用于 firefox 109.0a1 及更高版本
    Release Notes (v1.1)

    Bug fixes:
    - Fixed silent audio on cross-origin media (Twitch clips, Reddit embeds, and other embedded players). The extension now detects cross-origin resources and falls back to element.volume instead of routing
    through Web Audio, which browsers silence due to CORS restrictions.
    - Fixed a race condition where the extension could steal an element's audio source before the page's own player initialized, causing silence on sites like Twitch and Reddit.

    Improvements:
    - Internal code refactoring for readability and maintainability — removed debug logging, extracted helper functions, reduced codebase by ~200 lines with no behavioral changes.



    Notes to Reviewer

    Changes since v1.0:

    Bug fix — cross-origin audio (commits 476cb14, 32bce4c):
    - content.js now detects cross-origin media via isCrossOrigin() and skips createMediaElementSource (which browsers silence for CORS). Falls back to element.volume instead, scaling relative to the page's own
    volume baseline.
    - Added a 500ms HOOK_DELAY_MS before creating our audio pipeline, giving the page time to call createMediaElementSource first (which inject.js intercepts). This prevents a race condition on sites like
    Twitch.

    Code quality (commit 99f4b27):
    - Removed all console.log/console.warn debug logging
    - Extracted long functions into smaller named helpers
    - Replaced sequential if-else message dispatching with object lookup maps
    - Merged duplicate onMessage listeners in background.js

    What has NOT changed:
    - manifest.json: same permissions, same content script configuration (only version bumped)
    - All message types, DOM attributes, and internal data structures are identical
    - IIFE pattern preserved in all files — no module system or build step

    源代码遵循 Mozilla 公共许可证 2.0 发布

    下载 Firefox 并安装扩展
    下载文件
  • 较早版本

    版本 1.0

    发布于 2026年3月15日 - 19.45 KB
    适用于 firefox 109.0a1 及更高版本

    源代码遵循 Mozilla 公共许可证 2.0 发布

    下载文件
转至 Mozilla 主页

附加组件

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

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

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

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