/SpotifyAdBlock

A simple script (made with batch) to affix ad server addresses to hosts and remove ads on Spotify

Primary LanguageBatchfileGNU General Public License v3.0GPL-3.0

Spotify Ad Blocking Script

Created by Boomaa (Boomaa23 on GitHub)

A simple script (made in batch) to affix ad server addresses to hosts and remove ads on Spotify. If you'd like to use this file, follow these simple steps to get started.

  1. Download adscript.exe
  2. Launch adscript.exe
  3. Read the warnings attached to the beginning of the file
  4. Press Y every time a "do you want to overwrite this file?" message comes up (this is planned)
  5. Wait until the file is done writing
  6. Enjoy ad-free spotify!

(Optionally you can download adscript.bat and edit the script, but you'll need to run it in administrator mode)

Ad web server addresses provided by u/xXRasputintoXx on Reddit

NOTA BENE: Please be aware that this can cause problems with Spotify playback, notably songs stopping after ~10 seconds, songs refusing to play despite showing up, and some tracks randomly skipping. If this happens to you, run patch.bat, restart your computer and Spotify, then re-install adscript.exe. If this does not work, ensure that all of your hosts file is empty, then use BlockTheSpot instead, as it does not use the hosts-based ad blocking, which Spotify seems to have partially fixed. Thanks!