I came across this hosts file a while back that claims to reduce online annoyances & bandwidth and prevent some kinds of user tracking.
It’s a long list of shock sites, ad servers, known malware sites and other nasties, and it redirects any requests - to localhost, 127.0.0.1 - so they never reach the servers. I’ve been using it for a while and am not aware of any downsides. The main thing I notice is that I see hardly any ads even when I have an adblocker switched off in my browsers.
From the preamble in the file:
Use this file to prevent your computer from connecting to selected
internet hosts. This is an easy and effective way to protect you from
many types of spyware, reduces bandwidth use, blocks certain pop-up
traps, prevents user tracking by way of “web bugs” embedded in spam,
provides partial protection to IE from certain web-based exploits and
blocks most advertising you would otherwise be subjected to on the
internet.
It comes with instructions on how to use it on pretty much any system, including traditional MacOS, and you can add domains yourself if you wish. It just needs to be dropped into /etc/ which requires an admin password.
Just wondering if others have experience with, or thoughts about it. I have no affiliation with the author.