Skip to content

changhc/spotify-web-ad-silencer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ad Silencer for Spotify Web

Using Spotify for free but sick of disturbing ads? This browser extension can help! This extension mutes the Spotify web player automatically when it's playing an ad. Both Firefox and Chrome are supported.

Install this extension

From Firefox add-ons

Link to the Add-on

From source

  1. Clone this repo

How this works

There are two scripts here:

  • content.js: the script that is injected into the web player by the browser. This script can access DOM elements in the web player. It listens to changes in DOM and looks for the advertisement element. When an ad shows up, it signals the extension backend to mute the web player; when the ad is gone, it signals the extension again to unmute the web player.
  • background.js: the extension backend. This part has no access to DOM of the web page, but it can manipulate browser tabs. When it receives a signal from content.js, it performs the desired action (mute/unmute).

Who should use this

  • You were immersed in soft piano music but suddenly a noisy Spotify ad broke the serenity and you were pissed off.
  • You invited friends to you place and played your favourite songs on Spotify, but when an ad came out, everything was interrupted and you were embarrassed.
  • You just dislike the lousy ads on Spotify.

If any of these describes you, I'm sure you will like this extension!

About

Get rid of ads on Spotify

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published