Hostfile blocklist for ads and tracking, updated regularly https://www.github.developerdan.com/hosts/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniel 6f1566291e Automatic updates 12 hours ago
.github Added a link to 'common issues' readme section 7 months ago
docs Automatic updates 12 hours ago
.editorconfig Added unit testing. 3 years ago
.gitignore Adding sonarqube 2 years ago
.gitlab-ci.yml Added gitlab pages deploy 7 months ago
LICENSE Initial commit 3 years ago
README.md Added descriptions and link to the new Hate & Junk list. 5 months ago
compare_hosts_lists.py Several manual list re-scans 1 year ago

README.md

Hosts

Github Stars license last commit commit activity donate gitter

A collection of hosts files for domain blocking. If you find something in a list that you believe is a mistake or breaks functionality, please open a ticket and I'll consider removing it. Also, if you find an unblocked subdomain of a blocked root domain, please let me know so I can add it to a list.

Hosts Logo

Host file recipe Description Raw hosts
Ads & Tracking A programmatically expanded list of hosts used for advertisements and tracking. This is my primary list and I recommend using it. link
Facebook A hosts file to block all Facebook and Facebook related services, including Messenger, Instagram, and WhatsApp. link
AMP Hosts Google's Accelerated Mobile Pages (AMP) are taking over the web. Block AMP pages with this list. link
Hate & Junk This is an opinionated list to block things that I consider to be hateful or just plain junk. This list isn't for censorship, but rather websites that I wouldn't want my children to read without having a discussion first. Topics include but are not limited to hate groups, anti-vax, flat earth, and climate change denial. You are welcome to use this list if you like. If you disagree with something in this list... well, that's just, like, your opinion, man. link
Tracking Aggressive I do not recommend this list for most users. It is a very aggressive block list for tracking, geo-targeting, & ads. This list will likely break functionality, so do not use it unless you are willing to maintain your own whitelist. If you find something in this list that you think is a mistake, please open a ticket and we can discuss it. Keep in mind that this is an aggressive list. link

Common Issues

Google Fonts

I DO NOT BLOCK fonts.gstatic.com. However, I do block gstaticadssl.l.google.com. If you are using the Ads & Tracking list and are having issues with fonts.gstatic.com, then you might be using a blocker that blocks based on CNAME. Depending on your blocking tool, you might want to whitelist fonts.gstatic.com to prevent it from getting blocked by gstaticadssl.l.google.com CNAME.

See: #197, #136, and #213

Xbox Live Achievements

Turns out Xbox Live Achievements is using a common Microsoft tracking server. If you are using the Ads & Tracking list and want to continue getting Xbox Live Achievements, then you might need to whitelist a couple domains. Since I do not have an Xbox, I can't really help you with that, but please see #161 for details.