Coder Social home page Coder Social logo

spotishush's Introduction

SpotiShush

SpotiShush is a browser extension that automatically mutes audio ads on many music streaming services, including:

Installation

Pick the right one for your browser:

Chrome Web Store

Mozilla Add-on

Edge Add-on

No additional configuration is required! You just have to reload any existing tab that is playing music.


FAQ

Why not use an Ad Blocker instead?

While ads can sometimes be annoying (especially in audio format), I believe most music streaming websites offer an awesome service for non-paying users. And I also believe that if most people used an ad-blocker, the free modality would probably be much more limited.

How does it work?

SpotiShush will instantly mute the browser tab once it detects an audio ad will play. After the ad finishes, SpotiShush will restore the tab's audio so you can enjoy your favorite songs again.


Contributing

Testing

NOTE: This has been tested on Linux only!

We'll use web-ext to help with the testing/debugging process a bit. It will create a temporary profile on Firefox or Chrome for us, with SpotiShush pre-installed in it. So, to begin doing your testing, run:

Firefox:

yarn start:firefox

Chrome/Chromium:

yarn start:chromium

Don't worry about having to re-run the command above every time you change something in the code, because web-ext supports hot-reloading. You may want to reload the tabs in your browser, however.

Linting

SpotiShush follows the StandardJS coding style.

Before you commit your changes, please run the standard linter to check for errors:

yarn standard:check

Then, proceed to run Standard's automatic code formatter:

yarn standard:fix

After that, feel free to send a pull request. :)

spotishush's People

Contributors

dependabot[bot] avatar guihkx avatar jrngn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

spotishush's Issues

Doesn't unmute (w/ ublock) - Ver 2022.10.19

Previous version has no issues with "ublock".

Must be something with the timing when an ad plays for a second, is blocked & gets muted at the same time. When songs resume, they stay muted.
No issues when ublock is disabled.

Any chance you could make a Deezershush?

Greetings! I've been using this for over a month now, and if you had a Patreon I'd easily donate some money for you every month simply for existing on the same plane of existence as e. I really like this addon and I've started recommending it to all my friends.

With that said, I've gotten interested in using Deezer lately as it donates more money to the artists. Any chance you could release a similar addon for that?

Deezishush? :)

Request: Tidal support

Hello! Would it be possible to get support for Tidal too? They have better audio quality than Spotify and Deezer, even on the free (America-only) tier.

Pretty please? <3

It doesn't work anymore (?)

Hi, I love your extension.
However it seems that it stopped working today, maybe something changed in Spotify Web Player?
I'm using Firefox.

Thanks!

Doesn't work on Deezer

Hi, I installed spotishush but it doesn't mute tab on Deezer.
Chrome Build: Version 108.0.5359.124 (Official Build) (64-bit)

In console when ad starts playing:
[SpotiShush v2022.10.19] [Deezer] Ad error, unmuting tab...
spotishush.js:67 [SpotiShush v2022.10.19] [Deezer] Warning: This tab is already unmuted, not doing anything. Details: {muted: false}
Any ideas what can be wrong?

Improve detection mechanism on Deezer

Originally posted by @guihkx in #33 (comment)

I guess one way to deal with this in a more "definite" manner, would be by looking for that <audio> element through the entire node subtree of #page_content.

Though I'm certain that would be slower than the current solution, and I'm not sure if it would introduce delay in muting.

Anyway, let me know if you still want to work on this - I'm open to different suggestions too.

Spotify tab mutes when opening new firefox tab

When the Spotify tab is selected in Firefox and I create a new tab (by clicking the new tab button or by clicking a link), the Spotify tab is instantly muted and I need to unmute it by hand.

Recent problems on Deezer

Hi there, love the extension! ๐Ÿ™๐Ÿป

I had a long-open tab in Deezer (chrome) which was working great, but then I closed and reopened it (earlier today), and the extension seems to have stopped working.

Anyone else have similar problems?

Muting not working as expected

Seems like another change might have happened. The tab isn't muting or un-muting as it has previously. Gotta love how much they change the website...

I can't find anyone else reporting the problem however.

Request: Post your extension in the Edge store as well

Hello! I really like this addon/extension, but it seems to be missing from the Edge extension store. Could you add it there? :)

It would bring in more users + it would make it (marginally) easier to install the extension in Edge.

Request for IDAGIO support

Thank you for the extension. Please add support also for IDAGIO, because it seems like audio ads there cannot be blocked in other ways.

Spotishush not working on Firefox.

I know how frustrating it can be to receive such a vague issue, so let me clarify at the outset that I want to provide any info that you might need to help debug this. It's that I don't know where to collect any relevant information or extension logs etc. Here's the information I do have:

Browser: Firefox 70.0.1 (64-Bit)
OS: Fedora KDE 30
Spotishush version: 2018.6.19

I installed the extension and restarted the browser (for good measure). However when I play some music on open.spotify.com and an ad shows up, it does not mute the tab even though the tab title contains "Advertisement" (which is how I'm assuming the extension checks for ads). Some things that might be tripping it up:

  • I use multiple Firefox windows, and have a dedicated window with just the Spotify tab.
  • I use multiple other extensions, like uBlock, Pause/Play and Plasma Integration.

It seems implausible that one of these things is causing the issue but I am just putting this out there for good measure.

Thanks for your time.

Support for zvuk.com

Thank you for the extension. Please add support also for Zvuk, because it seems like audio ads there cannot be blocked in other ways.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.