bone.recipes



Content blocking

For general blocking, I use the /etc/hosts files from someonewhocares.org/hosts/zero/.

NOTE: I saw on Reddit today that someone caught Adobe using their product installers to modify /etc/hosts, which is extremely creepy. It might be a good idea to make /etc/hosts read-only (even for root) using sudo chattr +i /etc/hosts. This method is more powerful than just modifying the file's permissions and can only be undone by sudo chattr -i /etc/hosts. (This probably won't defeat a sophisticated installer that simply runs the chattr command itself, but it might be sufficient to block casual modification attempts.) It might also be a good idea to store a hash of the file somewhere safe and then compare /etc/hosts against the hash every once in a while to determine whether or not it's been modified.

For browser-based blocking, I use uBlock Origin with the addition of a one-line Google login pop-up filter (added to "My Filters"): ||accounts.google.com/gsi/iframe