Disallow third-party cookies in Firefox 2.0
Sep 16th, 2007 by Jared Schwager
The upgrade to Firefox 2.0 from 1.5 added many great new features, but some features were also removed, one of these being the option to easily disallow any cookies that do not come from originating sites. Thankfully this option can still be altered in the Firefox config editor despite the option being removed from the main options dialog by the following procedure:
Open a new tab in Firefox, type about:config in the address bar and press enter. This should load the Firefox config editor.
Using the filter field at the top, search for network.cookie.cookieBehavior.
Right-click on this option and select Modify. Change the value to 1 to disallow all third-party cookies. Set the value to 2 to disable all cookies. To accept all cookies, change it to 0.
For more control over your cookies:
I highly suggest using the CookieSafe extension for Firefox if you’d like even more control over your browser cookies.

[...] I’m not saying that any of the ad networks does this, or implements other methods to merge anonymous and personal data. They could though, and that’s why I protect my privacy by blocking all third party cookies in Internet Explorer and Firefox. [...]