Special thanks to @Gregoux06 who helped me a lot in fixing this plugin.
This is a Firefox port of https://github.com/neuling/smart-tab-mute-chrome-extension
Forked from https://github.com/noniq/smart-tab-mute-chrome-extension
Version 2 introduced a bug when closing a tab, a wrong tab may get unmuted Not much an issue, but script can only remember 1 latest playing tab, it's not "recursive" Script is not "fast" due to the delay implied by a tab when it stops making noise and background triggers.
- Unmute a tab when selected
- set the latest audible tab at the right moment
- Added support for a whitelist: thoses tabs will never get muted
- ignore list now working as expected
- Tidy the code a bit from non-necessary parts
- Plugin now only triggered when the tab has sound (playing or not)
- Small enhancements to prevente non-necessary processings
-
- When 3 tabs are playing sound, the script loops between all of them
-
- Closing a tab correctly triggers the unmute
Run the build process (see below), then open about:debugging
in Firefox, click on “Load Temporary Add-on” and select any file inside the build
directory (e.g. manifest.json
). MDN has more info about temporary installation in Firefox.
Original readme follows:
npm install
run the build process once
grunt
or if you want to automatically reload the extension after every change.
grunt --reload-extension
Open about:debugging, select this firfox and load a temporary add-on