(coffee) => code

Prevent Facebook From Tracking You on the Web

A simple search for “facebook like button tracking you” turns up a bunch of articles and blog posts about how Facebook is creeping on you wherever you go; even if you’re not signed in or actively clicking their ubiquitous like button (example). I’ve come up with a simple solution to the problem.

Caveat: This will prevent you from being able to use Facebook.

Step 1: Add the following entries to your hosts file

3 facebook.com www.facebook.com connect.facebook.net

If you’re not familiar with editing your hosts file, here’s a tutorial.

Step 2: Reboot

And done!