/etc/hosts Ad Blocking Entries
Head's Up: There's a lot in this. Don't be surprised if you need to remove some entries because they take out part of a site.
Also, the uncompressed file is ~105MB. It doesn't seem to be affecting my macbook, but your mileage may vary.
Overview
I pulled the hostname blocking entries from the
files on
this page and combined them into a single file
of entires for an /etc/hosts file. There are ~3,291,000 entries
from these source files:
https://badmojr.gitlab.io/1hosts/Lite/hosts.txt https://badmojr.gitlab.io/1hosts/Pro/hosts.txt https://blocklistproject.github.io/Lists/abuse.txt https://blocklistproject.github.io/Lists/adobe.txt https://blocklistproject.github.io/Lists/ads.txt https://blocklistproject.github.io/Lists/crypto.txt https://blocklistproject.github.io/Lists/malware.txt https://blocklistproject.github.io/Lists/phishing.txt https://blocklistproject.github.io/Lists/ransomware.txt https://blocklistproject.github.io/Lists/smart-tv.txt https://blocklistproject.github.io/Lists/tracking.txt https://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/domains/pro.plus.txt https://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/hosts/multi.txt https://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/hosts/tif.txt https://github.com/DandelionSprout/adfilt/raw/master/Alternate%20versions%20Anti-Malware%20List/AntiMalwareHosts.txt https://github.com/Ultimate-Hosts-Blacklist/Ultimate.Hosts.Blacklist/raw/master/hosts/hosts0 https://github.com/Ultimate-Hosts-Blacklist/Ultimate.Hosts.Blacklist/raw/master/hosts/hosts1 https://github.com/Ultimate-Hosts-Blacklist/Ultimate.Hosts.Blacklist/raw/master/hosts/hosts2 https://github.com/Ultimate-Hosts-Blacklist/Ultimate.Hosts.Blacklist/raw/master/hosts/hosts3 https://github.com/crazy-max/WindowsSpyBlocker/raw/master/data/hosts/extra.txt https://github.com/crazy-max/WindowsSpyBlocker/raw/master/data/hosts/spy.txt https://github.com/durablenapkin/scamblocklist/raw/master/hosts.txt https://github.com/hoshsadiq/adblock-nocoin-list/raw/master/hosts.txt https://github.com/r-a-y/mobile-hosts/raw/master/AdguardCNAME.txt https://github.com/r-a-y/mobile-hosts/raw/master/AdguardCNAMEAds.txt https://github.com/r-a-y/mobile-hosts/raw/master/AdguardCNAMEMicrosites.txt https://github.com/r-a-y/mobile-hosts/raw/master/AdguardMobileSpyware.txt https://github.com/r-a-y/mobile-hosts/raw/master/AdguardTracking.txt https://github.com/r-a-y/mobile-hosts/raw/master/EasyPrivacy3rdParty.txt https://github.com/x0uid/SpotifyAdBlock/raw/master/hosts https://gitlab.com/intr0/iVOID.GitLab.io/-/raw/master/iVOID.hosts?ref_type=heads https://gitlab.com/quidsup/notrack-annoyance-blocklist/-/raw/master/annoyance.hosts?ref_type=heads https://gitlab.com/quidsup/notrack-blocklists/-/raw/master/malware.hosts?ref_type=heads https://gitlab.com/quidsup/notrack-blocklists/-/raw/master/trackers.hosts?ref_type=heads https://hostfiles.frogeye.fr/firstparty-trackers-hosts.txt https://hostfiles.frogeye.fr/multiparty-trackers-hosts.txt https://malware-filter.gitlab.io/malware-filter/phishing-filter-hosts.txt https://malware-filter.gitlab.io/malware-filter/urlhaus-filter-hosts.txt https://oooo.b-cdn.net/blahdns/blahdns_hosts.txt https://osint.digitalside.it/Threat-Intel/lists/latestdomains.piHole.txt https://paulgb.github.io/BarbBlock/blacklists/hosts-file.txt https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts https://raw.githubusercontent.com/FiltersHeroes/KADhosts/master/KADhosts.txt https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts https://raw.githubusercontent.com/anudeepND/blacklist/master/adservers.txt https://raw.githubusercontent.com/anudeepND/blacklist/master/facebook.txt https://raw.githubusercontent.com/bigdargon/hostsVN/master/hosts https://raw.githubusercontent.com/bongochong/CombinedPrivacyBlockLists/master/newhosts-final.hosts https://raw.githubusercontent.com/d3ward/toolz/master/src/d3host.txt https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Extension/GoodbyeAds-Spotify-AdBlock.txt https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Extension/GoodbyeAds-YouTube-AdBlock.txt https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Hosts/GoodbyeAds.txt https://raw.githubusercontent.com/ph00lt0/blocklists/master/blocklist.txt https://schakal.ru/hosts/alive_hosts.txt https://someonewhocares.org/hosts/hosts https://someonewhocares.org/hosts/zero/hosts https://threatfox.abuse.ch/downloads/hostfile/ https://warui.intaa.net/adhosts/hosts.txt https://winhelp2002.mvps.org/hosts.txt https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt https://www.github.developerdan.com/hosts/lists/amp-hosts-extended.txt https://www.github.developerdan.com/hosts/lists/facebook-extended.txt https://www.github.developerdan.com/hosts/lists/tracking-aggressive-extended.txt https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser
The File
The Source
The scripts I used to assemble the file are here: