Want to block Facebook entirely for yourself or someone you care about? It’s easy.
Instructions for a Mac OS X:
Open up Terminal (It’s in Applications/Utilities) and enter this text and hit enter, followed by your password:
sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts
This is your hosts file, which is the first place your computer checks for DNS lookups.
Add this line:
Once your hosts file looks like this, save it:
Open Terminal again and insert this: dscacheutil -flushcache. Then restart your browsers and your machine to be certain your DNS cache is flushed down the drain.
On a PC:
1) Right click on Notepad and pick Run as administrator. Click on File then Open then browse to \windows\system32\drivers\etc In the drop down list change Text files (*.txt) to All files (*.*)
2) Open the hosts file and add 127.0.0.1 facebook.com
Reduce those life minutes:
Related reading: NYTimes: “F.T.C. Backs Plan to Honor Privacy of Online Users“