Last active
November 14, 2024 10:31
-
-
Save anthony-wang/943e08bc83759e1dbb8745819f4b3eca to your computer and use it in GitHub Desktop.
The hosts file entries to block Spotify ad servers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use this to block Spotify ad servers | |
# sources: | |
# https://www.reddit.com/r/Piracy/comments/4kn6rq/comprehensive_guide_to_blocking_ads_on_spotify/ | |
# https://gist.github.com/teomaragakis/cb187d880c9a3ca2c8a2 | |
# https://gist.github.com/Shujito/b7a8f8f971b22f49b4313d7d3e8e6931 | |
# https://gist.github.com/rifkyekayama/f7c43e470f23878b20416e68f73829dc | |
# https://gist.github.com/shokoylele/8f4160a102480471cb946fbd800bc86a | |
############## Begin manual list | |
# 127.0.0.1 spclient.wg.spotify.com # might block the entire Spotify app from working too | |
127.0.0.1 media-match.com | |
127.0.0.1 adclick.g.doublecklick.net | |
127.0.0.1 www.googleadservices.com | |
# 127.0.0.1 open.spotify.com | |
127.0.0.1 pagead2.googlesyndication.com | |
127.0.0.1 desktop.spotify.com | |
127.0.0.1 googleads.g.doubleclick.net | |
127.0.0.1 pubads.g.doubleclick.net | |
127.0.0.1 audio2.spotify.com | |
127.0.0.1 www.omaze.com | |
127.0.0.1 omaze.com | |
127.0.0.1 bounceexchange.com | |
127.0.0.1 http://www.googleadservices.com | |
127.0.0.1 pagead46.l.doubleclick.net | |
127.0.0.1 pagead.l.doubleclick.net | |
127.0.0.1 video-ad-stats.googlesyndication.com | |
127.0.0.1 pagead-googlehosted.l.google.com | |
127.0.0.1 partnerad.l.doubleclick.net | |
127.0.0.1 prod.spotify.map.fastlylb.net | |
127.0.0.1 adserver.adtechus.com | |
127.0.0.1 na.gmtdmp.com | |
127.0.0.1 anycast.pixel.adsafeprotected.com | |
127.0.0.1 d361oi6ppvq2ym.cloudfront.net | |
127.0.0.1 gads.pubmatic.com | |
127.0.0.1 idsync-ext.rlcdn.com | |
127.0.0.1 ads-west-colo.adsymptotic.com | |
127.0.0.1 geo3.ggpht.com | |
127.0.0.1 showads33000.pubmatic.com | |
127.0.0.1 securepubads.g.doubleclick.net | |
127.0.0.1 http://audio2.spotify.com | |
127.0.0.1 www.audio2.spotify.com | |
127.0.0.1 core.insightexpressai.com | |
127.0.0.1 content.bitsontherun.com | |
127.0.0.1 s0.2mdn.net | |
127.0.0.1 v.jwpcdn.com | |
127.0.0.1 d2gi7ultltnc2u.cloudfront.net | |
127.0.0.1 crashdump.spotify.com | |
127.0.0.1 adeventtracker.spotify.com | |
127.0.0.1 log.spotify.com | |
127.0.0.1 analytics.spotify.com | |
127.0.0.1 ads-fa.spotify.com | |
127.0.0.1 cs283.wpc.teliasoneracdn.net | |
127.0.0.1 audio-ec.spotify.com | |
127.0.0.1 cs126.wpc.teliasoneracdn.net | |
127.0.0.1 heads-ec.spotify.com | |
127.0.0.1 u.scdn.co | |
127.0.0.1 cs126.wpc.edgecastcdn.net | |
127.0.0.1 ads.pubmatic.com | |
127.0.0.1 www.googletagservices.com | |
127.0.0.1 sto3.spotify.com | |
127.0.0.1 b.scorecardresearch.com | |
127.0.0.1 bs.serving-sys.com | |
127.0.0.1 d3rt1990lpmkn.cloudfront.net | |
127.0.0.1 doubleclick.net | |
127.0.0.1 ds.serving-sys.com | |
127.0.0.1 googleadservices.com | |
127.0.0.1 gtssl2-ocsp.geotrust.com | |
127.0.0.1 js.moatads.com | |
127.0.0.1 partner.googleadservices.com | |
127.0.0.1 tpc.googlesyndication.com | |
127.0.0.1 weblb-wg.gslb.spotify.com | |
127.0.0.0 www.omaze.com | |
127.0.0.1 audio-sp-tyo.spotify.com | |
127.0.0.1 audio-sp-ash.spotify.com | |
127.0.0.1 audio-fa.spotify.com | |
127.0.0.1 audio-sp.spotify.com | |
127.0.0.1 heads-fab.spotify.com | |
127.0.0.1 ads.yahoo.com | |
127.0.0.1 agkn.com | |
127.0.0.1 rlcdn.com | |
127.0.0.1 adnxs.com | |
127.0.0.1 fastclick.net | |
127.0.0.1 pubmatic.com | |
127.0.0.1 googlesyndication.com | |
127.0.0.1 googletagservices.com | |
127.0.0.1 cloudfront.net | |
127.0.0.1 ravenjs.com | |
127.0.0.1 gvt1.com | |
0.0.0.0 pubads.g.doubleclick.net | |
0.0.0.0 securepubads.g.doubleclick.net | |
############## End manual list |
@anthony-wang redirector.gvt1.com
is used by e.g. Firefox to update some of its components (specifically, the widevine-cdm plugin to enable playback of DRM-content). I suggest removing this entry.
@anthony-wang 127.0.0.1 open.spotify.com
blocks the entire web version of spotify! For me it works fine without it in the list.
Thanks, @ohusq !
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@anthony-wang googlehosted.l.googleusercontent.com is a false positve