x0uid / spotifyadblock Goto Github PK
View Code? Open in Web Editor NEWProtect your privacy by blocking all annoying Spotify ads & analytics in Linux, OSX and Windows with hosts file.
Home Page: https://twitter.com/0xUID
License: MIT License
Protect your privacy by blocking all annoying Spotify ads & analytics in Linux, OSX and Windows with hosts file.
Home Page: https://twitter.com/0xUID
License: MIT License
e-cdns-proxy-d.dzcdn.net and similar CNAMEs to cs439.wpc.4d34.edgecastcdn.net, deemix downloads data from there
This blocklist works so well but it is not able to block spotify audio ads. I am still getting audio ads. I am using windows hosts blocklist. But still I am getting audio ads please help.
Trying to block iPhone Spotify ads through AdGuard's DNS filtering. But when I do this it blocks Twitter videos from loading, and ads are still coming through the Spotify app.
(Honestly I'm not even sure that this is meant to work on mobile devices, so I hope this isn't a dumb comment! Worth a shot, it seems to work beautifully on my laptop!)
I love this work so far, keep it up ๐ But after I modified the /etc/hosts file, flushed cache, listened through spotify web player or the standalone app, there were ads coming through. Even with additional lines:
# additional
0.0.0.0 gew-spclient.spotify.com
# from https://github.com/x0uid/SpotifyAdBlock/issues/37
0.0.0.0 adeventtracker.spotify.com
# from https://github.com/x0uid/SpotifyAdBlock/issues/35
0.0.0.0 79.65.199.104.bc.googleusercontent.com
0.0.0.0 47.224.186.35.bc.googleusercontent.com
0.0.0.0 25.224.186.34.bc.googleusercontent.com
Bottom left of spotify window. The ads just keep rolling one after the other:
The only way right now to get no ads on the computer is listen to spotify web player on chrome with ublock origin enabled. But I really don't prefer to use the browsers with ublock. There has to be a way :)
Recently, my Spotify started skipping songs randomly. I think it's something with the addresses in the hosts file, because when I remove them, my Spotify works normally.
As I've used host files before, I know I've used them properly, but spotify still tries to play ads. When this happens, the program goes silent and on where the album cover is, I see the blank disc symbol with "Learn More" next to it. clicking pause or play makes no difference other than on the button itself. When I try to click on another song, the banner pops on top saying "The selected song will play after the ads"
But it certainly blocks the playable ads
Edit: I restarted my computer to see if it would help fix the problem, and it does but not in a way I'd prefer. Because ads play
Sadly GitHub doesn't let me upload the screenshot(Maybe because I'm using an unsupported Version of Edge), I'll upload a Screenshot later, but there are a bunch of adsโฆ
When I paste all the entries to /etc/hosts and then starting to play with the app, about two and a half minutes after that Ads are popping up.
OS.: MacOS X High Sierra (Version 10.13.6)
Spotify version: 1.1.25.259.g85cf5e4c
What is going on?????
Hi, I am on Ubuntu 20.04 LTS and I added all the hosts in the hosts file but there are still audio ads. Using Spotify v1.1.26.501.gbe11e53b-15
Hi, I'm (web) developer so i am adding advertisements to my website.I need to see ads to test.
So is there a list with only Spotify domains?
Delete please
Hi!
Im not sure if different countries has different servers etc, with your list spotify wont even connect, says offline. The previous version from a couple of days ago worked better but some songs would not play and album art did not load either. So this might be much more tricky than one can understand :/
Hello,
The audio ads are still working and there is a large ad at the bottom.
Regards.
Hi,
After modifying /private/etc/hosts file as indicated (and flushing dns cache), when ad starts I can see a fanart of the ad on bottom-left corner without any sound, but it never plays the next track even after several minutes, I'm obliged to push pause/play button manually, whatever playing mode is (web player in a browser or macOS native app) :(
Not very user friendly...
Any idea to fix this?
Thx a lot in advance.
No longer works. At least for my Windows 10 Spotify app. Spotify seems to detect the changes in the hosts file.
The app will give out an error.
"Spotify can't play this right now. If you have the file on your computer you can import it."
Once I removed the changes in the hosts file only then the app will play the music.
I added list, select a song, but it doesn't start playing. I removed the list and music played as desired. Tried purging the list, removing any of "do not block this" coincidence or subdomain but it didn't work. Any sugestion?
I'm using GasMask to create a combined hosts file from local and external sources, with regular automated updates for external sources. However, there's a bug in GasMask in that it won't accept hosts files hosted on GitHub due to allegedly "bad" content. However, the same hosts files on a non-GitHub mirror work just fine. So my question is if it's possible to create a non-GitHub mirror. Or would that be too much of a hassle with all the updates?
After i copy paste the host file to my system /etc/hosts file and restarted the computer. I was unable to connect to my wifi. Did i miss any step:
mighty@ideapad:~$ uname -a
Linux ideapad 5.4.0-53-generic #59~18.04.1-Ubuntu SMP Wed Oct 21 12:14:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
forums.warframe.com doesn't load images and style sheets when it's blocked. Probably more websites affected.
Using /etc/hosts list
from master branch as of this commit
It seems to me that blocking the domain s0-2mdn-net.l.google.com
might be blocking Google's translate api through the translate extension (v2.0.9).
The network request status for the translate apis return blocked:csp
, but when commenting out that domain in my hosts file, the page translate functions normally. Is anyone else experiencing this?
System: MacOS v11.1 Big Sur
Browser: Chrome v87.0.4280.88
hello, I'am using nextdns.io
Comment out the line ash-spclient.spotify.com
I guessed the fix by a similar reddit hosts file in which it was said listing spclient.wg.spotify.com breaks Spotify. And I searched for spclient and got here :D
Worked on spot.
I'm unable to visit w3schools when using this.
The "Whitelist" link, i understand what that is. But the "blacklist", should i add them all into my hosts file? 3773 lines ?
I'm so confused.
Hello
So i tried the latest version and when i try to log it refuses i have a red message with an error code 3
cs531.wpc.edgecastcdn.net is CNAME for video.twimg.com and breaks Twitter videos
Found in SpotifyBlocklist.txt
Hey just found your project and it seems to work for about half the ads, but audio ads are still getting through. It seems to be blocking most banner ads but I still get the occasional popup or batch of audio ads every few songs. I'm assuming that they have added new hosts to the rotation and have not been included in the blacklist hosts file you have? Just wanted to find out what you would recommend using to try and track the new incoming traffic? Also wanted to get you some info if it helps at all.
Thanks!
Spotify version: 1.1.37.690.g8f3b16fc
Windows 10 version: 1909 (18363.900)
Using the latest hosts file commit in master branch (bc3ef39)
Example of audio ad and banner getting through as of 7/15/2020:
OS: Windows 10 v2004 x64
Spotify client: latest Windows client
Type: hosts file and Pi-hole (neither seems to work)
With the current list, updating Spotify to a new version is not possible.
To allow updates, upgrade.scdn.co
should be removed from the list.
Or is there a reason to block updates?
I have followed all the steps and still have ads passing, local Armenian and basic Spotify Premium ads. Could anyone guide how to track them?
OS: Kubuntu 22.04.3 LTS x86_64
Hi,
I modified my hosts file as indicated, and some adds get block, but other still go through.
Is there any update on the dns?
My region is Germany.
Thks!
Using the list unchaged on Linux Mint, Facebook switches to a text-only mode with no content on the web page
Pi-hole will state that pbs.twimg.com
is being blocked when browsing Twitter (Specifically, I was browsing Tweetdeck), but this is due to it being a CNAME to cs196.wac.edgecastcdn.net
which is blocked by this list.
I also notice the same is happening with cs45.wac.edgecastcdn.net
and ton.twimg.com
.
I am using a Windows Machine (Spotify Desktop) and I have replaced my Host file using Notepad (opened as administrator) and flushed my dns after that. I am still getting ads. I actually did that back in 2020, but I forgot how was I able to do it back that. I'd be please if someone could help me with that.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.