A quick guide on how to exorcise Facebook from your computer and send it back to the data privacy hell from when it came… permanently.
This is a guide for macOS, but it’s about editing
hosts, so it will work under any operating system. For Windows users, your hosts file lives in
C:\Windows\System32\Drivers\etc (it’s the file in there literally just called
hosts, no file extension, but it’s just a text file). Just copy-paste the list of domain from page two of the Mac guide into that file. Note you’ll probably need to open a text editor as Administrator first (right click on it, then find the “Run as Administrator” option).
Because the hosts file works at the OS network layer, making changes here will impact everything on the computer. If you block Facebook in
hosts, no app or browser will ever be able to resolve it ever again. Also note that this technique works for literally any domain, and also means you can redirect arbitrary domains to arbitrary IP addresses so, like… I’m not saying that the opportunities to prank people by editing their hosts file exists, but…