Doplňky do prohlížeče Firefox
  • Rozšíření
  • Motivy vzhledu
    • pro Firefox
    • Slovníky a jazykové balíčky
    • Ostatní stránky prohlížeče
    • Doplňky pro Android
Přihlásit se
Ikona doplňku

Historie doplňku Tab Volume Manager - 2 verze

Tab Volume Manager od Nikola

Hodnocení: 5 z 5
Hodnocení: 5 z 5
5
1
4
0
3
0
2
0
1
0
Historie doplňku Tab Volume Manager - 2 verze
  • Se starými verzemi opatrně! Tyto verze jsou zde dostupné jen pro testovací a referenční účely.Používat byste vždy měli nejnovější verzi doplňku.

  • Nejnovější verze

    Verze 1.1

    Vydáno 22. bře 2026 – 20,13 KB
    Funguje s: firefox 109.0a1 a novější
    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

    Zdrojový kód zveřejněn pod licencí Mozilla Public License 2.0

    Stáhnout Firefox a nainstalovat toto rozšíření
    Stáhnout soubor
  • Starší verze

    Verze 1.0

    Vydáno 15. bře 2026 – 19,45 KB
    Funguje s: firefox 109.0a1 a novější

    Zdrojový kód zveřejněn pod licencí Mozilla Public License 2.0

    Stáhnout soubor
Přejít na domovskou stránku Mozilly

Počet doplňků

  • O nás
  • Blog doplňků pro Firefox
  • Workshop tvorby rozšíření
  • Pro vývojáře
  • Pravidla pro vývojáře
  • Blog komunity
  • Fórum
  • Nahlásit chybu
  • Příručka recenzenta

Prohlížeče

  • Desktop
  • Mobile
  • Enterprise

Produkty

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Ochrana soukromí
  • Cookies
  • Právní informace

Není-li uvedeno jinak, obsah této stránky je šířen pod licencí Creative Commons Uveďte původ-Zachovejte licenci 3.0 nebo jakoukoli novější verzí.