StevenBlack/hosts
View on GitHub ↗ ★ 31,363 Python
🔒 Consolidating and extending hosts files from several well-curated sources. Optionally pick extensions for porn, social media, and other categories.
244 mentions on Hacker News by 168 people: 21 stories, 223 comments · first 2013-02-22 · latest 2026-10-07
20082026
-
https://github.com/StevenBlack/hosts and you don't need a device.
comment by paulcarroty · 2018-08-07 · in Pi-Hole: Why You Need a Network-Wide Ad-Blocker -
…don't like AMP and don't mind the occasional broken site. But it's definitely not for everyone. [1] https://github.com/StevenBlack/hosts [2] https://github.com/StevenBlack/hosts/issues/657
comment by lightswitch05 · 2018-08-04 · in One Year Without AMP -
…Store. Jason Donenfeld, Wireguard's author, has a Patreon page: https://www.patreon.com/zx2c4 [0] https://github.com/StevenBlack/hosts
comment by arctux · 2018-08-01 · in WireGuard is submitted for Linux kernel inclusion -
A good solution I've found for ad blocking is using the following hosts file: https://github.com/StevenBlack/hosts Which sinkholes every known ad/malicious domain. It's been pretty useful, and it hasn't broken nothing important yet.
comment by trash_panda · 2018-07-28 · in An update on uBlock -
…I use a Pi-hole as well with several block list sources, my favorite being Steven Black's hosts: https://github.com/StevenBlack/hosts
comment by move-on-by · 2018-07-05 · in Smart TVs Track More Than What’s on Tonight -
This too was a problem for me (and sometimes continues to be). I've been using `hosts` ( https://github.com/StevenBlack/hosts ) to block all of the social sites so I have to rethink my decision to visit one. It's enough of a hiccup to stop…
comment by wildmindwriting · 2018-06-15 · in Ask HN: What has the past 12 months taught you? -
…for you. Try the variant with the social media blocking if you really want to go cold turkey. https://github.com/StevenBlack/hosts
comment by stblack · 2018-04-09 · in The Guardian covertly sends your data to 58 tracking services -
By using something like this: https://github.com/StevenBlack/hosts I have effectived block lots of analytic service. I can see how well it works when I open Chrome Dev Tool aand see bunch of console error due to js tracking fail to load.
comment by kureikain · 2018-03-27 · in You will be surprised to see how much Google tracks about you -
…the best for blocking adware, malware, fakenews, gambling , porn and social media outlets. [1] - https://github.com/StevenBlack/hosts/
comment by joeblau · 2018-03-21 · in Blocklist Facebook domains -
…More complete and also has hosts for other social outlets, ad networks and trackers to block. https://github.com/StevenBlack/hosts/
comment by joeblau · 2018-03-20 · in Blocklist Facebook domains -
…be less, but more than 16. Even at that, you're right it would definitely reduce the size. - [1] https://github.com/StevenBlack/hosts/
comment by joeblau · 2018-03-20 · in Blocklist Facebook domains -
Looks like this is already covered by the "Social" add-on to StevenBlack's hosts: https://github.com/StevenBlack/hosts/blob/master/extensions/...
comment by bhauer · 2018-03-20 · in Blocklist Facebook domains -
I don't have a list that I can easily share, but you can curate your own off of https://github.com/StevenBlack/hosts
comment by amarka · 2018-03-20 · in Blocklist Facebook domains -
…for cases I don't catch with the /etc/hosts approach (e.g. disallowing e.g. remote fonts) [1] https://github.com/StevenBlack/hosts
comment by DyslexicAtheist · 2018-03-05 · in Adware vendors buy Chrome Extensions to send ad- and malware-filled updates -
…block all tracking servers at the hosts level by adding rules in your /etc/hosts. I've been using https://github.com/StevenBlack/hosts for a few years now and it's incredibly useful.
comment by robinhood · 2018-03-02 · in Firefox Configuration Guide for Privacy Freaks and Performance Buffs -
…on my phone. A little lower level, I have a modified hosts file which blocks social media sites: https://github.com/StevenBlack/hosts Obviously it is possible to circumvent all of these self-imposed obstacles, but taking a couple of…
comment by mxschumacher · 2018-01-25 · in Why social media bosses don’t use social media -
…It certainly kills of most of the pop-ups I run into. [1]: https://github.com/2ndalpha/gasmask [2]: https://github.com/StevenBlack/hosts
comment by simongr3dal · 2018-01-19 · in LuLu: An open-source macOS firewall that blocks unknown outgoing connections -
Regarding #3, I'd recommend https://github.com/StevenBlack/hosts/
comment by hello_asdf · 2018-01-11 · in Ask HN: Extremely easy steps towards extra security/privacy? -
I've used https://github.com/StevenBlack/hosts for years now, and any close- and extended-family laptop or computer I touch gets it either silently or with some explanation if they ask me what I'm doing. Noone has ever complained. My only…
comment by folknor · 2017-11-19 · in A Guide to Not Getting Hacked -
…cannot files from Github or any https site[0]. There are non-Github mirrors listed in the table at https://github.com/StevenBlack/hosts which I have been able to use successfully. [0]: https://github.com/2ndalpha/gasmask/issues/90
comment by unforswearing · 2017-11-02 · in November Workshop: Running the Pi-hole Network-wide Ad-blocker, and more -
…different incarnations and it is generally smooth. It was also quite educational to assemble. [1] https://github.com/StevenBlack/hosts [2] [3] dnsmasq isn't necessary as dnscypt-proxy is now able to block domains and IPs and of caching…
comment by chewz · 2017-11-02 · in November Workshop: Running the Pi-hole Network-wide Ad-blocker, and more -
…you because they have their button/icon on nearly every random homepage). A great selection is at https://github.com/StevenBlack/hosts
comment by dualogy · 2017-10-29 · in I cured my tech fatigue by ditching feeds -
I've already got that covered[1]. …/~ cat /etc/hosts | wc -l 50773 [1] - https://github.com/StevenBlack/hosts
comment by joeblau · 2017-09-12 · in Facebook, You Needy Sonofabitch -
Use separation of concerns. Block ads / tracking outside the browser, eg using a hosts blacklist: https://github.com/StevenBlack/hosts This allows you to use any browser. I've found Firefox to be buggy and slow on OS X so I use Chrome.…
comment by driverdan · 2017-07-12 · in Firefox tracks users with Google Analytics in the add-on settings -
There's also https://github.com/StevenBlack/hosts
comment by OJFord · 2017-07-12 · in Firefox tracks users with Google Analytics in the add-on settings -
…argue much, I use Ghostery and also this host list which means I usually don't see those things: https://github.com/StevenBlack/hosts
comment by codezero · 2017-06-08 · in Show HN: Retool: Excel-like, with higher order primitives -
For those who are technically inclined: https://github.com/StevenBlack/hosts
comment by horsecaptin · 2017-06-06 · in Apple adds a tracker blocker to desktop Safari -
I also use a hosts file block to avoid tracking: https://github.com/StevenBlack/hosts
comment by jf · 2017-05-22 · in Get your loved ones off Facebook -
…ub.com/pi-hole/pi-hole/wiki/Customising-sources-... The most comprehensive of the lists appears to be https://github.com/StevenBlack/hosts , which is the same list I use for DNS filtering on my DD-WRT router. Seems to work pretty well.
comment by stordoff · 2017-05-19 · in Twitter abandons 'Do Not Track' privacy protection -
…request for *.facebook.com This is true, which is why you need a better list. Like one of these: https://github.com/StevenBlack/hosts (There are lots of others out there if one of those doesn't suit your fancy.) These things will never be…
comment by __jal · 2017-05-19 · in Twitter abandons 'Do Not Track' privacy protection -
That's probably why it's included in "fakenews" category on https://github.com/StevenBlack/hosts
comment by deepsun · 2017-05-16 · in Scientists Achieve Direct Counterfactual Quantum Communication -
…HTTP 301), or you could follow the chain of redirects and apply your rules to the terminal URL. [1] https://github.com/StevenBlack/hosts
comment by schmich · 2017-04-15 · in Show HN: UrlRoulette – Pass a URL to the next visitor -
…potentially others. You can optionally invoke extensions to block additional sites by category. || https://github.com/StevenBlack/hosts Direct link: https://raw.githubusercontent.com/StevenBlack/hosts/master/h... Also, I think OpenDNS…
comment by dbg31415 · 2017-03-13 · in Pi-hole – A black hole for Internet advertisements -
Modify your hosts file to block all porn domains. Here is an extremely popular list on github: https://github.com/StevenBlack/hosts . It can block malware, adware, porn, gambling, and social sites. I personally use it for all of those and…
comment by am_i_down · 2017-03-11 · in Any open source porn blocking setups? -
…hosts file on my system to block most of the ad-networks and metrics tracking sites. Check out https://github.com/StevenBlack/hosts
comment by sangupta · 2016-12-19 · in Ask HN: Is it ok to use traditional server-side rendering these days? -
I use: https://github.com/StevenBlack/hosts Works amazing.
comment by joeblau · 2016-12-12 · in German judges explain their decision that ad-blocking software is legal -
https://github.com/StevenBlack/hosts
comment by driverdan · 2016-11-25 · in Brew commands send data to Google Analytics -
It might be this one from another comment https://github.com/StevenBlack/hosts
comment by fgandiya · 2016-11-13 · in Dear Google, Apple, Mozilla, and MS: Please End Auto-Playing Media in Browsers -
…your assertion is valid, even though it was sarcastic, that it is an amazing use of one's time. [0] https://github.com/StevenBlack/hosts
comment by tastythrowaway2 · 2016-11-13 · in Dear Google, Apple, Mozilla, and MS: Please End Auto-Playing Media in Browsers -
…hosts file on your system, if you have Linux, just replace your existing /etc/hosts file with this https://github.com/StevenBlack/hosts This will kill 90% of popups and autoloading, for the others.. 2. If you use Chrome, use the option…
comment by hd4 · 2016-11-13 · in Dear Google, Apple, Mozilla, and MS: Please End Auto-Playing Media in Browsers -
I've set up a cronjob to pull the latest hosts file from Steven's aggregated list https://github.com/StevenBlack/hosts
comment by satbyy · 2016-11-02 · in Pornhub Bypasses Ad Blockers with WebSockets -
You could also try https://github.com/StevenBlack/hosts to block ads. Quoting from the description: Extending and consolidating hosts files from a variety of sources like adaway.org, mvps.org, malwaredomains.com, someonewhocares.org,…
comment by 0xmohit · 2016-10-21 · in Google Has Dropped Ban on Personally Identifiable Web Tracking -
…I think it's wrong to attribute all of it to malice. Personally, I set the host file to use https://github.com/StevenBlack/hosts in order to block ads on every computers I touch. I also often use software that manage the host file and…
comment by Raphmedia · 2016-09-28 · in Let 'localhost' be localhost -
I use this source, which seems to be a pretty good aggregation of several hosts file sources: https://github.com/StevenBlack/hosts
comment by nathanaldensr · 2016-09-13 · in Adblock Plus now sells ads -
…I wish I could use this on my phone. EDIT: Looks like I should switch to the https://github.com/StevenBlack/hosts source, as it includes the one I referenced plus a lot more.
comment by teddyc · 2016-09-06 · in Multi-process Firefox brings 400-700% improvement in responsiveness -
I know this is not about ad blockers, but does anybody have any experience of using something like https://github.com/StevenBlack/hosts/blob/master/hosts instead of uBlock Origin? Or even use it in the hosts file of our dd-wrt/openwrt…
comment by dxxvi · 2016-09-06 · in Multi-process Firefox brings 400-700% improvement in responsiveness -
This works really well for me, and avoids the overhead of using a browser plugin: https://github.com/StevenBlack/hosts
comment by kristianc · 2016-08-23 · in Browsing your website does not mean I want your spam -
Good luck Facebook because we have this: https://github.com/StevenBlack/hosts
comment by JulienRbrt · 2016-08-09 · in Facebook will force advertising on ad-blocking users -
…Pis but I put it into a Vagrantfile and combined it with block lists similar to Ghostery from https://github.com/StevenBlack/hosts to form https://github.com/benlowry/pihole-extended-hosts A commercial solution similar to that was just all…
comment by benologist · 2016-08-01 · in DistroWatch Ubuntu Phone review -
> One can achieve this locally, on a laptop/desktop, using https://github.com/StevenBlack/hosts I use this with DD-WRT to get network-wide filtering. It's not perfect (only updates on router boot), but good enough for me. Additional…
comment by stordoff · 2016-07-29 · in Optimal DNS Ad Blocker