5 ms·
pornhub and other sites happily detect my adblocks, but still cannot serve any ads via websockets, because I use a proper /etc/hosts file from http://someonewho
by rurban 10y ago
pornhub and other sites happily detect my adblocks, but still cannot serve any ads via websockets, because I use a proper /etc/hosts file from http://someonewhocares.org/hosts/zero/ http://someonewhocares.org/hosts/zero/
- itsmemattchung 10y agoWhoa, such a simple and effective method by overriding the hosts file. Any idea how this file is kept up-to-date? Presumably new endpoints are constantly being rolled out; I wonder how the author of this file discovers the new hosts.
- satbyy 10y agoI've set up a cronjob to pull the latest hosts file from Steven's aggregated list https://github.com/StevenBlack/hosts https://github.com/StevenBlack/hosts
- schmich 10y agoA couple months ago I put together a Docker image for just this. It's based on dnsmasq and Steven Black's hosts list, and it automatically updates the list daily: https://github.com/schmich/purify https://github.com/schmich/purify I run it on a cheap Digital Ocean machine, and my home router is setup to forward all DNS traffic to it. Any connected clients, phones included, automatically get the blocking capability.
- johnpowell 10y agoYou can email them new stuff and they add it pretty quickly to the list. I have sent in about 20 domains that are mostly mackeeper related and they get added within a few days. The person that cares is really nice and seems to appreciate the help.
- miahi 10y agoThere's also http://www.shallalist.de/ http://www.shallalist.de/ (nicely categorized), I use it with SquidGuard but it can be also be quite easily transformed to a hosts file.
- ars 10y agoIf that became a problem for them they would just use an IP address directly instead of a hostname.
- deleted 10y ago[deleted]
- rurban 10y agoyes, then my firewall rules will grow significantly :) But then I would be able to use IP masks, as with dnsgate. The hosts file doesn't take wildcards.
- jakeogh 10y agohttps://github.com/jakeogh/dnsgate https://github.com/jakeogh/dnsgate