Seems to be not working anymore but since I didn't made any change I guess cause of the error is Spotify's changes. Due that I don't really happy with this project I'm not going to update/fix but if would like to fix whatever the error is you can always open PR, I'm not going to archive this project.
There is 3 reasons why I made that
- Because I'm a high school student and Spotify haven't got any plans for us.
- Because my premium subscription has ended and Spotify ads are so annoying.
- Because long time ago I reported that Spotify webplayer not playing any ads and they just deleted my report awkwardly and put ads to webplayer.
Well yes but actually no, after Spotify put ads into webplayer I decided make an another program (or webpage whatever you call) to block ads. If one of them playing program sets volume to zero to prevent listening these annoying ads.
- Option: https://fklc.github.io/AdlessSpotifyPlayer/
- Option: Clone this repo and open
index.html
at your browser.
- Open
index.html
or https://fklc.github.io/AdlessSpotifyPlayer/ - Navigate here to get access token from Spotify site
- Click on
Get Your Web Playback SDK Access Token
- Agree app access (since it is official Spotify app I can't access that so feel free to use it)
- When Spotify redirect you to old page again there is should be access token appeared copy that
- Paste into page you opened at first and click
Connect
- On one of the your devices click to
Connect to a device
and selectAdless Spotify Player
- That's all start listening
This whole blocking ads in Spotify against their TOS (https://www.cnet.com/news/spotify-explicity-bans-ad-blockers-and-will-kick-off-users-that-have-them/) so use at your own risk.