I have cron jobs on my mac that update my hosts files (to block "addictive" sites in my case (not ads)). It doesn't really work. Browsers cache and use outside DNS servers despite the hosts files. Chrome and sometimes Safari don't really honor the hosts files 100% of the time. Every once in a while I google around to try and restore my control, try to tweak my browser settings but I have yet to find anything that mak…
BeGoneAds – A Python script that blocks ads by installing common hosts files
91–97 of 97 posts
Re: BeGoneAds – A Python script that blocks ads by installing common hosts files
#92Re: BeGoneAds – A Python script that blocks ads by installing common hosts files
#93Earlier quoted context omitted.
For a simple script that does one thing, it's overkill.
Yes. So you keep that simple script simple, and you let systemd do the heavy lifting.
Re: BeGoneAds – A Python script that blocks ads by installing common hosts files
#94Earlier quoted context omitted.
There's no either/or decision to be made here. You get compromised, paid for content with our without ads as well. Critical thinking I'd a requirement always.
There definitely is an either/or because blocking of one channel will naturally necessitate money/barter flowing to the other channel. One is at least transparent and regulated, the murky world of influence peddling isn't since it's hard for anyone to tell in the moment whether something is "organic" or not.
Re: BeGoneAds – A Python script that blocks ads by installing common hosts files
#95Re: BeGoneAds – A Python script that blocks ads by installing common hosts files
#96Earlier quoted context omitted.
Indeed. Traffic served from 0.0.0.0 can be seen from other machines. Traffic on 127.0.0.1 or localhost cannot. Important to know when you’re doing local development vs a local demo.
IP addresses with 0 as the first octet are invalid and hopefully will not be routed. I prefer them for hosts files over localhost because localhost has to wait and time out, but 0.0.0.0 will fail right away.
Re: BeGoneAds – A Python script that blocks ads by installing common hosts files
#97Earlier quoted context omitted.
There definitely is an either/or because blocking of one channel will naturally necessitate money/barter flowing to the other channel. One is at least transparent and regulated, the murky world of influence peddling isn't since it's hard for anyone to tell in the moment whether something is "organic" or not.
Not when the other channel is already at capacity. And it is. Blocking ads has no effect on that. You never agreed to being tracked either, so blocking that is the right and proper thing to do. Blocking surveillance capitalism might push businesses toward honesty, it's at least with a shot.
Blocking ads does not drive businesses to be more "honest". They'll just spend more on PR and influencers. And given how hostile this community is to ads and perhaps even marketing overall, (how YC ever backed a marketing or ad startup is beyond me), companies already realize that getting a fawning TC article purchased thru connections and favors and PR chicanery is going to be more effective than ad campaign even though the ad campaign is more honest, upfront and transparent with its agenda.