I’ve developed a lightweight extension to add a feature that Firefox currently completely lacks: a native, global media controller.
The Problem: Firefox has no centralized, global UI for users to view or control media playing across different tabs.
The Solution: I built a fully functional global media controller from scratch. It uses browser.storage.local to cache MediaSession metadata, creating a persistent, system-wide hub for media management regardless of which tab is active.
Technical Implementation:
-
Stack: Manifest V3, WebExtensions API.
-
UI: Features dynamic color sampling to match media artwork seamlessly.
I am sharing this open-source proof-of-concept with the community. I would appreciate any feedback from developers on the architecture, and I’m offering this logic as a reference for anyone looking to finally bring a native global media controller to Firefox.