Advertisement
Cipher69

Block Spotify Ads on PC

Nov 7th, 2019
47,813
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.69 KB | None | 0 0
  1. You can block Spotify ads if you just null(?) them, just add this in your hosts File.
  2. On windows is at C:\Windows\System32\drivers\etc\hosts file.
  3. On Mac open finder and type /private/etc/hosts
  4. On Linux edit /etc/hosts
  5. More info here -> https://en.wikipedia.org/wiki/Hosts_(file)
  6.  
  7. 0.0.0.0 media-match.com
  8. 0.0.0.0 adclick.g.doublecklick.net
  9. 0.0.0.0 pagead2.googlesyndication.com
  10. 0.0.0.0 desktop.spotify.com
  11. 0.0.0.0 googleads.g.doubleclick.net
  12. 0.0.0.0 pubads.g.doubleclick.net
  13. 0.0.0.0 audio2.spotify.com
  14. 0.0.0.0 vortex.data.microsoft.com
  15. 0.0.0.0 vortex-win.data.microsoft.com
  16. 0.0.0.0 telecommand.telemetry.microsoft.com
  17. 0.0.0.0 telecommand.telemetry.microsoft.com.nsatc.net
  18. 0.0.0.0 oca.telemetry.microsoft.com
  19. 0.0.0.0 oca.telemetry.microsoft.com.nsatc.net
  20. 0.0.0.0 sqm.telemetry.microsoft.com
  21. 0.0.0.0 sqm.telemetry.microsoft.com.nsatc.net
  22. 0.0.0.0 watson.telemetry.microsoft.com
  23. 0.0.0.0 watson.telemetry.microsoft.com.nsatc.net
  24. 0.0.0.0 redir.metaservices.microsoft.com
  25. 0.0.0.0 choice.microsoft.com
  26. 0.0.0.0 choice.microsoft.com.nsatc.net
  27. 0.0.0.0 df.telemetry.microsoft.com
  28. 0.0.0.0 reports.wes.df.telemetry.microsoft.com
  29. 0.0.0.0 wes.df.telemetry.microsoft.com
  30. 0.0.0.0 services.wes.df.telemetry.microsoft.com
  31. 0.0.0.0 sqm.df.telemetry.microsoft.com
  32. 0.0.0.0 telemetry.microsoft.com
  33. 0.0.0.0 watson.ppe.telemetry.microsoft.com
  34. 0.0.0.0 telemetry.appex.bing.net
  35. 0.0.0.0 telemetry.urs.microsoft.com
  36. 0.0.0.0 telemetry.appex.bing.net:443
  37. 0.0.0.0 settings-sandbox.data.microsoft.com
  38. 0.0.0.0 vortex-sandbox.data.microsoft.com
  39. 0.0.0.0 survey.watson.microsoft.com
  40. 0.0.0.0 watson.live.com
  41. 0.0.0.0 watson.microsoft.com
  42. 0.0.0.0 statsfe2.ws.microsoft.com
  43. 0.0.0.0 corpext.msitadfs.glbdns2.microsoft.com
  44. 0.0.0.0 compatexchange.cloudapp.net
  45. 0.0.0.0 cs1.wpc.v0cdn.net
  46. 0.0.0.0 a-0001.a-msedge.net
  47. 0.0.0.0 statsfe2.update.microsoft.com.akadns.net
  48. 0.0.0.0 sls.update.microsoft.com.akadns.net
  49. 0.0.0.0 fe2.update.microsoft.com.akadns.net
  50. 0.0.0.0 65.55.108.23
  51. 0.0.0.0 65.39.117.230
  52. 0.0.0.0 23.218.212.69
  53. 0.0.0.0 134.170.30.202
  54. 0.0.0.0 137.116.81.24
  55. 0.0.0.0 diagnostics.support.microsoft.com
  56. 0.0.0.0 corp.sts.microsoft.com
  57. 0.0.0.0 statsfe1.ws.microsoft.com
  58. 0.0.0.0 pre.footprintpredict.com
  59. 0.0.0.0 204.79.197.200
  60. 0.0.0.0 23.218.212.69
  61. 0.0.0.0 i1.services.social.microsoft.com
  62. 0.0.0.0 i1.services.social.microsoft.com.nsatc.net
  63. 0.0.0.0 feedback.windows.com
  64. 0.0.0.0 feedback.microsoft-hohm.com
  65. 0.0.0.0 feedback.search.microsoft.com
  66. 0.0.0.0 media-match.com
  67. 0.0.0.0 adclick.g.doublecklick.net
  68. 0.0.0.0 www.googleadservices.com
  69. 0.0.0.0 localhost
  70. 0.0.0.0 pagead2.googlesyndication.com
  71. 0.0.0.0 desktop.spotify.com
  72. 0.0.0.0 googleads.g.doubleclick.net
  73. 0.0.0.0 pubads.g.doubleclick.net
  74. 0.0.0.0 audio2.spotify.com
  75. 0.0.0.0 www.omaze.com
  76. 0.0.0.0 omaze.com
  77. 0.0.0.0 bounceexchange.com
  78. 0.0.0.0 pubads.g.doubleclick.net
  79. 0.0.0.0 securepubads.g.doubleclick.net
  80. 0.0.0.0 www.googletagservices.com
  81. 0.0.0.0 gads.pubmatic.com
  82. 0.0.0.0 ads.pubmatic.com
  83. 0.0.0.0 spclient.wg.spotify.com
  84. 0.0.0.0 image2.pubmatic.com
  85. 0.0.0.0 ads.pubmatic.com
  86. 0.0.0.0 sync.rhythmxchange.com
  87. 0.0.0.0 tpc.googlesyndication.com
  88. 0.0.0.0 m.goadservices.com
  89. 0.0.0.0 pagead2.googlesyndication.com
  90. 0.0.0.0 ut.performax.cz
  91.  
  92. If you are using mac, replace 0.0.0.0 with 127.0.0.1, so basically:
  93. 127.0.0.1 media-match.com
  94. 127.0.0.1 adclick.g.doublecklick.net
  95. 127.0.0.1 pagead2.googlesyndication.com
  96. 127.0.0.1 desktop.spotify.com
  97. 127.0.0.1 googleads.g.doubleclick.net
  98. 127.0.0.1 pubads.g.doubleclick.net
  99. 127.0.0.1 audio2.spotify.com
  100. 127.0.0.1 vortex.data.microsoft.com
  101. 127.0.0.1 vortex-win.data.microsoft.com
  102. 127.0.0.1 telecommand.telemetry.microsoft.com
  103. 127.0.0.1 telecommand.telemetry.microsoft.com.nsatc.net
  104. 127.0.0.1 oca.telemetry.microsoft.com
  105. 127.0.0.1 oca.telemetry.microsoft.com.nsatc.net
  106. 127.0.0.1 sqm.telemetry.microsoft.com
  107. 127.0.0.1 sqm.telemetry.microsoft.com.nsatc.net
  108. 127.0.0.1 watson.telemetry.microsoft.com
  109. 127.0.0.1 watson.telemetry.microsoft.com.nsatc.net
  110. 127.0.0.1 redir.metaservices.microsoft.com
  111. 127.0.0.1 choice.microsoft.com
  112. 127.0.0.1 choice.microsoft.com.nsatc.net
  113. 127.0.0.1 df.telemetry.microsoft.com
  114. 127.0.0.1 reports.wes.df.telemetry.microsoft.com
  115. 127.0.0.1 wes.df.telemetry.microsoft.com
  116. 127.0.0.1 services.wes.df.telemetry.microsoft.com
  117. 127.0.0.1 sqm.df.telemetry.microsoft.com
  118. 127.0.0.1 telemetry.microsoft.com
  119. 127.0.0.1 watson.ppe.telemetry.microsoft.com
  120. 127.0.0.1 telemetry.appex.bing.net
  121. 127.0.0.1 telemetry.urs.microsoft.com
  122. 127.0.0.1 telemetry.appex.bing.net:443
  123. 127.0.0.1 settings-sandbox.data.microsoft.com
  124. 127.0.0.1 vortex-sandbox.data.microsoft.com
  125. 127.0.0.1 survey.watson.microsoft.com
  126. 127.0.0.1 watson.live.com
  127. 127.0.0.1 watson.microsoft.com
  128. 127.0.0.1 statsfe2.ws.microsoft.com
  129. 127.0.0.1 corpext.msitadfs.glbdns2.microsoft.com
  130. 127.0.0.1 compatexchange.cloudapp.net
  131. 127.0.0.1 cs1.wpc.v0cdn.net
  132. 127.0.0.1 a-0001.a-msedge.net
  133. 127.0.0.1 statsfe2.update.microsoft.com.akadns.net
  134. 127.0.0.1 sls.update.microsoft.com.akadns.net
  135. 127.0.0.1 fe2.update.microsoft.com.akadns.net
  136. 127.0.0.1 65.55.108.23
  137. 127.0.0.1 65.39.117.230
  138. 127.0.0.1 23.218.212.69
  139. 127.0.0.1 134.170.30.202
  140. 127.0.0.1 137.116.81.24
  141. 127.0.0.1 diagnostics.support.microsoft.com
  142. 127.0.0.1 corp.sts.microsoft.com
  143. 127.0.0.1 statsfe1.ws.microsoft.com
  144. 127.0.0.1 pre.footprintpredict.com
  145. 127.0.0.1 204.79.197.200
  146. 127.0.0.1 23.218.212.69
  147. 127.0.0.1 i1.services.social.microsoft.com
  148. 127.0.0.1 i1.services.social.microsoft.com.nsatc.net
  149. 127.0.0.1 feedback.windows.com
  150. 127.0.0.1 feedback.microsoft-hohm.com
  151. 127.0.0.1 feedback.search.microsoft.com
  152. 127.0.0.1 media-match.com
  153. 127.0.0.1 adclick.g.doublecklick.net
  154. 127.0.0.1 www.googleadservices.com
  155. 127.0.0.1 localhost
  156. 127.0.0.1 pagead2.googlesyndication.com
  157. 127.0.0.1 desktop.spotify.com
  158. 127.0.0.1 googleads.g.doubleclick.net
  159. 127.0.0.1 pubads.g.doubleclick.net
  160. 127.0.0.1 audio2.spotify.com
  161. 127.0.0.1 www.omaze.com
  162. 127.0.0.1 omaze.com
  163. 127.0.0.1 bounceexchange.com
  164. 127.0.0.1 pubads.g.doubleclick.net
  165. 127.0.0.1 securepubads.g.doubleclick.net
  166. 127.0.0.1 www.googletagservices.com
  167. 127.0.0.1 gads.pubmatic.com
  168. 127.0.0.1 ads.pubmatic.com
  169. 127.0.0.1 spclient.wg.spotify.com
  170. 127.0.0.1 image2.pubmatic.com
  171. 127.0.0.1 ads.pubmatic.com
  172. 127.0.0.1 sync.rhythmxchange.com
  173. 127.0.0.1 tpc.googlesyndication.com
  174. 127.0.0.1 m.goadservices.com
  175. 127.0.0.1 pagead2.googlesyndication.com
  176. 127.0.0.1 ut.performax.cz
  177. Additional Step for Mac: Close spotify, right click it, select 'Open Package Contents', then navigate to 'Contents/Resources/Apps' and delete 'ad.spa'
  178.  
  179. Add the following ip ranges to your router or firewall (optional)
  180.  
  181. 31.13.76.102
  182. 173.194.0.0-173.194.255.255
  183. 216.58.192.0-216.58.223.255
  184. 74.125.0.0-74.125.255.255
  185. 2.16.4.0-2.16.4.255
  186. 74.125.136.0-74.125.136.255
  187. 173.194.65.0-173.194.65.255
  188. 23.235.43.0-23.235.43.255
  189. 194.68.165.0-194.68.165.255
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement