How to protect your privacy by blocking all annoying Spotify ads & analytics in Linux, OSX and Windows with hosts file.

Today I will show you how to easily block the servers hosting Spotify ads on your Linux/Mac or Windows machine. This will allow you to listen all day long on a free account without hearing a single ad.  This trick is very simple, legal and works great.  Spotify may catch on and find some way to stop this from working but, as of today (13 March 2019) it works swimmingly.

UPDATE 20-02-19: List updated thanks to Johan, ad blocking works again. Somehow Spotify found cheap way to block music if you block they DNS ad services by pinging it back from client. Note to update your HOSTS entries.

UPDATE 10-03-19: Huge DNS list update, added lots of new advertising entries.

spotify-ad-block

Blocking Ad Server

In order to remove those pesky ads, all we need to do is setup out hosts file to override the DNS for Spotify’s ad servers and redirect that traffic to our local machine.  When the traffic hits out local machine the call will fail and the ad will be skipped.  Follow the steps below to add the entries needed.

Continue reading “How to protect your privacy by blocking all annoying Spotify ads & analytics in Linux, OSX and Windows with hosts file.”

Make your AdBlock invisible to most sites that require you to disable AdBlock.

The Anti-Adblock Killer Script has not been updated for quite a while now. Most sites can sniff it.

adblock

Fortunately, there are a few alternatives. I have been using the uBlock Protector Extension (Chrome only) for the past month and it works flawlessly. It is also updated frequently.

Continue reading “Make your AdBlock invisible to most sites that require you to disable AdBlock.”