Skip to content

A list of YouTube video ad domains. (EXPERIMENTAL!)

License

Notifications You must be signed in to change notification settings

evenwebb/youtubeadsblacklist

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A list of YouTube video ad domains. (EXPERIMENTAL!)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%