disable audio on lock by Oleksandr Molodchyk
Mute and pause Firefox audio automatically when Windows locks.
Available on Firefox for Android™Available on Firefox for Android™
Extension Metadata
Screenshots
About this extension
disable audio on lock stops Firefox audio when your Windows session locks.
The add-on listens for local Windows lock/unlock events through Firefox native messaging, then mutes Firefox tabs, pauses HTML audio and video, suspends Web Audio contexts used by custom sound apps, and blocks new playback attempts while the computer is locked.
When Windows unlocks, the add-on restores only the tabs it muted. It does not add a popup, settings page, analytics, tracking, or remote service.
This add-on is built for the case where music, video, or ambient sound pages continue playing behind the Windows lock screen.
disable audio on lock is open source. Source code, build scripts, and the native messaging host are available at:
https://github.com/molodchyk/disable-audio-on-lock
The add-on listens for local Windows lock/unlock events through Firefox native messaging, then mutes Firefox tabs, pauses HTML audio and video, suspends Web Audio contexts used by custom sound apps, and blocks new playback attempts while the computer is locked.
When Windows unlocks, the add-on restores only the tabs it muted. It does not add a popup, settings page, analytics, tracking, or remote service.
This add-on is built for the case where music, video, or ambient sound pages continue playing behind the Windows lock screen.
disable audio on lock is open source. Source code, build scripts, and the native messaging host are available at:
https://github.com/molodchyk/disable-audio-on-lock
This extension exists because Firefox does not expose Windows session lock through the WebExtensions idle API. The native host is required only to observe local Windows lock/unlock events and send those events to the extension. Audio control is performed by normal Firefox extension APIs and injected page guards.
Rated 0 by 0 reviewers
Permissions and data
Required permissions:
- Exchange messages with programs other than Firefox
- Access browser tabs
- Access your data for all websites
Data collection:
- The developer says this extension doesn't require data collection.
More information
- Add-on Links
- Version
- 1.0.0
- Size
- 31.95 KB
- Last updated
- 3 days ago (Jun 11, 2026)
- Related Categories
- Privacy Policy
- Read the privacy policy for this add-on
- Version History
- Add to collection
The developer of this extension asks that you help support its continued development by making a small contribution.