28

If you use Mozilla Firefox in the "never remember history" setting, how can one see which cookies are currently saved (and possibly delete specific ones)? The answer I've heard is to look in Preferences -> Tools, but this is the screen shot of that tab, and there is no list of cookies here:

enter image description here

tempy
  • 283
  • 1
  • 4
  • 12

9 Answers9

39

As of Firefox 61, access to cookies has been removed from regular end user UI. You can still see and modify them via Developer Tools however:

  • Press Ctrl+Shift+I (Cmd+Option+I on macOS) to open Developer Tools.
  • Click the heading of the "Storage" tab.
  • On the left side of the panel, make sure to select the desired site under "Cookies." If the site has third-party frames, you can also see cookies set by these frames by selecting the right site.
  • You can delete cookies via context menu. You can also double-click the value to modify it.

Original answer, for reference

The Page Info dialog lets you view cookies - from the context menu on a page choose "View Page Info", go to the "Security" tab and click "View Cookies". By default it will only show the cookies for the current page but you can remove the search string and it will show all cookies. If you want it a bit more comfortable you can install the View Cookies extension.

Wladimir Palant
  • 1,381
  • 9
  • 10
12

Quick Solution:

You can manage cookies by going to the following address*:

chrome://browser/content/preferences/cookies.xul

*Domains have been removed from the screenshot

Cookies


Alternatively...

Setting Firefox to Never remember history will hide the link or button to manage cookies. To enable the button, you must choose Remember history or Use custom settings for history as @kreemoweet mentioned.

Remember history

Custom settings

iglvzx
  • 23,818
9

Access the Cookie Database

You can query the cookie DB directly using SQLite; you'll have all the power of SQL at your fingertips.

First, find the Firefox profile directory. Type about:support in the URL bar. Look for "Profile Folder" in the table. Open a terminal and change to that directory.

$ cd ~/.mozilla/firefox/fw6qr.default-1234567

Close Firefox to unlock the cookie DB. Then open the cookie DB using SQLite.

$ sqlite3 cookies.sqlite
sqlite> .tables
moz_cookies
sqlite> -- view cookie table schema
sqlite> .schema moz_cookies
sqlite> -- example cookie query
sqlite> SELECT host, name, value FROM moz_cookies ORDER BY host;
sqlite> -- delete tracking cookies
sqlite> DELETE FROM moz_cookies WHERE host LIKE '%googleadservices.com';

Pro Tip

The cool thing about accessing the cookie database directly is that you can programatically delete nefarious or annoying cookies. Just wrap the invocation to Firefox in a script. After Firefox terminates, then cleanse your cookies.

Clint Pachl
  • 3,310
7

By far, to me, this seems the best way to view and delete cookies in the Firefox since it shows some details which are not available in the other methods - e.g. if a field in a cookie is httpOnly or not will be visible this way.

  1. Press F12 to open Firefox Developer Tools.
  2. Go to Storage tab.
  3. From the left pane, expand Cookies node. Under this node you can see a list of Websites that have cookies stored on your device.
  4. Select one Website and see its cookies on the right pane with their details. From here you can delete every individual cookie.

HTH

Kamran
  • 270
  • 3
  • 5
2

Also, you could find Cookie Manager+ add-on useful. In particular, "Delete and block" command there.

0

The only built-in way at the moment is to go through the Developer-Tools which requires actually going to the site (assuming that's even possible), but even then, that means it's possible/likely that when you do, the site will modify the cookies. Unfortunately, for some reason, the Firefox developers decided to remove the built-in ability to view cookies out-of-band from the browser itself.

If you want to view cookies for a site without going to it (e.g., it's down, no Internet access, you want to recover the data, do mild forensics, etc.), currently the only option is to use a third-party utility. Fortunately Nirsoft is a reliable, trusted source of tools and his MZCookiesView utility is ideal for this purpose.

Some features include: • View and delete cookies without even closing the browser • Provides useful sorting, search, and filtering functions • Gives instant access to full meta-data about the cookies • Makes it easy to work with cookies of different profiles • Can let you access and edit with offline/backup profiles • Has builtin backup and restore functions for cookie file • Manually select a different "cookies.sqlite" file to use

Synetech
  • 69,547
0

You could try the Firecookie addon.

Anand
  • 1,795
0

In Private Browsing you do not have cookies stored, so there's nothing to see. Details at: http://support.mozilla.org/en-US/kb/Private-Browsing. Edit to add: If you have pre-existing cookies you want to look over, you can change the drop-down box setting to "use custom settings for history", which will cause a number of additional settings to appear below, among which is a button to "View Cookies".

kreemoweet
  • 4,742
0

The list of cookies is here (any plugin is needed) :

Preference -> Tools -> Privacy -> Historic -> on the combo box is selected : "Use custom settings for historic" They are few checkbox underneath and a button named: "Display Cookies.."

When a click under this button a window pops with all the currents cookies inside, which could be deleted

I'm using FireFox 10.0 and I'm able to see which cookies are currently saved (and possibly delete specific ones).

Dsandre
  • 535