Macos – How to block all Facebook elements/content

blockingfacebookfirefoxmacosprivacy

I have no Facebook account. How to block all Facebook elements (not only like-button, but everything Facebook) on the rest of the Internet. I worry being tracked by Facebook. I am using Firefox on Mac OS X.

Best Answer

You can add these lines to the file /etc/hosts on your computer to cut off access to all facebook content:

# Block Facebook
127.0.0.1 www.facebook.com
127.0.0.1 facebook.com
127.0.0.1 login.facebook.com
127.0.0.1 www.login.facebook.com
127.0.0.1 fbcdn.net
127.0.0.1 www.fbcdn.net
127.0.0.1 fbcdn.com
127.0.0.1 www.fbcdn.com
127.0.0.1 static.ak.fbcdn.net
127.0.0.1 static.ak.connect.facebook.com
127.0.0.1 connect.facebook.net
127.0.0.1 www.connect.facebook.net
127.0.0.1 apps.facebook.com
Related Question