SpotiShush is a browser extension that automatically mutes audio ads on Spotify Web Player.
Pick the right extension for your browser, and install it:
After the installation, just reload the Spotify tab in your browser and you're good to go!
You can go to Releases if you need .crx
or .xpi
files.
While ads can sometimes be annoying (especially in audio), I believe Spotify offers a great service for free and I like to show them support by disabling the ad blocker on their website.
SpotiShush will automatically mute the Spotify tab before it plays any audio ad. After the ad finishes, SpotiShush unmutes the tab so you can enjoy your favorite songs again.
NOTE: This has been tested on Linux only!
After you modify the code, you'll probably have to test it on Spotify. To automate this process a bit, we'll use web-ext
to create a temporary Firefox/Chrome profile, with SpotiShush installed in it:
# Test it on Firefox
yarn start:firefox
# Test it on Chromium/Chrome
yarn start:chromium
The command above will open Spotify's login page, so you'll obviously need a Spotify account to do your testing.
It's also worth mentioning that you don't have re-open the browser every time you modify the code, because the extension will auto-reload once you save any file (this works best on Firefox, in my experience).
SpotiShush follows the StandardJS coding style. Fortunately, it has an automatic code linter that helps you with the styling.
Before you commit your changes, run the standard
linter to check for any errors:
yarn standard:check
Fix any errors, then proceed to run standard
's automatic code formatter:
yarn standard:fix
And that's pretty much it. Now you can commit your changes and send a pull request!