youtubeadsblacklist

by anudeepND

A list of YouTube video ad domains. (Discontinued)

137 Stars 73 Forks Last release: Not found Other 141 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

YouTube Video ads Blocklist

Updated on: Mon 30 Oct 17:53:13 EDT 2017


These domains are region specific and each device will get a different set of domains. You may get ad from other domains which are not included in the lists. You can request additional domains via Issues tab.

Blocking video ads is kind of like Whack-A-Mole. The domain names often change, so users feedback is very helpful. Also there's is no guarantee that this list will block 100% of the ads, however the results were promising. One should also note that the actual content is also delivered using similar domains, for example

rx---sn-gwpa-cags.googlevideo.com
Blocking this will prevent the video from playing!
Add
https://raw.githubusercontent.com/anudeepND/youtubeadsblacklist/master/domainlist.txt
file to adlist.

Important Note: YouTube seems to cache ads, so please clean cache after adding or updating this list.

FAQs

1). How do I determine an ad domain?
a). DNSthingy Assistant

This browser extension will list all of the domains that are queried when a web page is loaded. You can often look at the list of domains and cherry pick the ones that appear to be ad-serving domains.

Alt text

b). Using inbuilt Developer tool

For Chrome ctrl+shift+I will land you in Developer tools menu. Alt text

2). I'm receiving connection timeout error while playing videos.

Make sure the traffic on port 443 is rejected. Use the below iptables rule:

sudo iptables -A INPUT -p tcp --destination-port 443 -j REJECT
for IPv4
sudo ip6tables -A INPUT -p tcp --destination-port 443 -j REJECT
for IPv6

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.