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 with a hosts file. 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 (15 July 2019) it works swimmingly.


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.

Read moreHow 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.

Read moreMake your AdBlock invisible to most sites that require you to disable AdBlock.