by wincy · 4y ago · 0 comments
Does anyone know how I can block a website like Facebook on a Mac with whatever new tech they've rolled out? I know Self Control does it, so there's definitely a way.
whois to find all their IPs range and block all these? They change once in a while but not every day.
See here for the whois command:
https://stackoverflow.com/questions/11164672/list-of-ip-spac...
FWIW I just reject any outgoing attempt to these range from my firewall using a file I version and update once in a while.
EDIT: I've also got a PiHole running and I'm pretty sure it's also blocking a huge lot of FB related ad domains. I could automate the whois query and check if it's different from the current list I'm using but I don't bother (so far).
https://superuser.com/questions/1657925/some-websites-bypass...