Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How PREF cookie (google.com) appears in firefox?

Tags:

Remove all the history in Firefox (delete all cookies), disable all add-ons and plugins, then restart Firefox. Do not go to any site and wait for about 10-15 min. Go to Options->...->Show cookies. You will see cookie named PREF with google.com domain.
1) Can somebody explain how and why this cookie appears?
2) How to get rid of this?

p.s I don't have any google desktop application installed. Firefox google search bar is removed too.

like image 584
Op De Cirkel Avatar asked Jun 10 '11 01:06

Op De Cirkel


People also ask

Where are cookie preferences stored?

A cookie is information stored on your computer by a website you visit. In some browsers, each cookie is a small file but in Firefox, all cookies are stored in a single file, located in the Firefox profile folder.

How do you stop Google asking about cookies Firefox?

Go into Options and then not to Security but to Privacy. Click the Exceptions bar to the right of Cookies. Enter Google.com and then click block. That did the trick for me.

What is a PREF cookie?

Preferences CookiesCookies or any other form of local storage that can not be seen as statistics-anonymous, statistics, marketing or functional, and where the technical storage or access is necessary for the legitimate purpose of storing preferences.


2 Answers

This cookie is coming from Google's safebrowsing api:

google.com/safebrowsing/downloads?client=.... 

This is a known issue in firefox and there is an open ticket here:

https://bugzilla.mozilla.org/show_bug.cgi?id=368255

EDIT To get rid of it, you can turn off the safebrowsing on the security tab (under Options), by un-checking the boxes to Block attacks and forgeries.

like image 65
Bacon Avatar answered Sep 28 '22 09:09

Bacon


Why does it appear?

As part of Safe Browsing, Web browsers ping Google periodically for updated lists of potentially dangerous sites. When they do, Google puts a cookie on the user’s machine. Google says the cookie helps it keep its system stable and monitor for attacks.

Source: The Google Cookie That Seems to Come Out of Nowhere

Why does it keep reappearing even after I delete it?

  1. Because you need to disable Safe Browsing
  2. AND because Firefox Cookie Manager can't delete it, even if it appears to (bug #1026538).

Why is it dangerous?

As this cookie contains a unique ID number, it has been used by the NSA to track people under suspicion. Source: NSA uses Google cookies to pinpoint targets for hacking, Washington Post

Also, it means Google can track you better since this unique ID is persistent even after you close Firefox.

Security often means less privacy. You can avoid sending all your browsing history to Google: Use an up-to-date browser and modules, disable uneeded browser modules, don't install apps/modules from untrusted sources and avoid phishing attempts by checking the website domain and HTTPS certificate.

How to really get rid of it?

  1. Disable Safe Browsing:

    1.1 Uncheck "Block reported attack sites" under Firefox Preferences > Security tab

    1.2. Uncheck "Block reported web forgeries" under Firefox Preferences > Security tab

  2. THEN manually delete the existing cookie with sqlite3 (as long as bug #1026538 is open)

    2.1. Find your Firefox cookie database within your Firefox profile folder:

    Firefox menu > Help button > Troubleshooting Information > Application Basics section > Profile folder line > Open Directory button > File name is cookies.sqlite

    or (Ubuntu) find ~/.mozilla/firefox -name cookies.sqlite

    2.2 Install sqlite3: Download or (Linux) sudo apt-get install sqlite3

    2.3 From command prompt: sqlite3path-to-cookies.sqlite

    2.4 DELETE FROM moz_cookies WHERE baseDomain = "google.com";

Now you can check that the PREF cookie doesn't reappear at Firefox launch in Firefox Cookie Manager. It should not reappear as long as you don't re-enable Safe Browsing and if you have configured Firefox to delete cookies after exit.

Recommeded tools to limit tracking (except PREF cookie...): Cookie AutoDelete

like image 41
KrisWebDev Avatar answered Sep 28 '22 08:09

KrisWebDev