blocking facebook on OS X

internet

It is quiet easy to block a website if you run a mac and are not afraid to edit system files.
Simply adding

127.0.0.1 www.facebook.com

in /etc/hosts takes care of all facebook traffc. Not only will the site be not accessible navigating to other page that run embedded facebook will also no longer tell Mr Zuckerberg & Co where you are going on the Internet.