為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

"Manage Cookies and Site Data" lists site using no storage??

  • 5 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 azalea4va

more options

I am using an extension that automatically deletes cookies on Firefox startup. But when I start firefox, I am getting sites listed showing they have one or more cookies but are using no storage. Another Firefox extension indicates there are no cookies from the sites that "Manage Cookies and Site Data" says do have cookies.

Is this a bug in Firefox, a bug in the extension, or a misunderstanding on my part?

I am using an extension that automatically deletes cookies on Firefox startup. But when I start firefox, I am getting sites listed showing they have one or more cookies but are using no storage. Another Firefox extension indicates there are no cookies from the sites that "Manage Cookies and Site Data" says do have cookies. Is this a bug in Firefox, a bug in the extension, or a misunderstanding on my part?
附加的畫面擷圖

被選擇的解決方法

You can create a cookie allow exception with the proper protocol (https:// or http://) to make a website remember you

  • using "Delete cookies and site data when Firefox is closed" to clear cookies keeps cookies with an allow exception
    in 102+ version toggling this setting makes changes to the "Clear history when Firefox closes" settings and those settings prevail
  • using "Clear history when Firefox closes" in Firefox 102+ honors exceptions and keeps cookies with an allow exception, previous versions removed all cookies

Make sure to keep the "Site settings".

  • clearing "Site settings" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data
  • Settings -> Privacy & Security
    Cookies and Site Data: "Manage Exceptions"
  • Settings -> Privacy & Security
    Firefox will: "Use custom settings for history":
    [X] "Clear history when Firefox closes" -> Settings
從原來的回覆中察看解決方案 👍 1

所有回覆 (5)

more options

You can use the Storage Inspector to see what data is stored for the website in the current tab.

You can check the storage folder (storage/default) in your profile folder to see what data is stored in indexedDB, this includes partitioned data stored for cross-site (third-party) websites.

Persistent cookies are stored in cookies.sqlite.

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page (Root directory).

more options

Cookies and storage are two separate things, you can have one without the other. Some extensions only deal with cookies.

Why not use the built-in setting "Delete cookies and site data when Firefox is closed"?

more options

cor-el, Thanks for that. The attached listing from the sqlite viewer confirms the presences of the cookies listed by Firefox in ManageData. See the attached showing a bunch of VRBO.com cookies (as well as others).

So why are those cookies not getting deleted by the Cookie Auto Delete extension?

Zeronight,

Because I do not want to delete ALL cookies when I exit from Firefox. There are a number of websites that allow me to specify that I am running from a trusted computer. By doing so, I can bypass some extra authentication measures they require and I want to take advantage of that on a small number of sites. In some cases that is very important because I live in a location with marginal cell service and if I have to enter a code sent to my cell phone I am locked out because I cannot get the cell signal needed to receive that code.

The websites know I have indicated the computer can be trusted because that info is stored in a cookie. I do not want that cookie deleted. So instead of using the built-in sledge hammer capability that is part of firefox, I use the Cookie Auto Delete extension.

My understaniding is it will delete all cookies on browser restart except those specified in a whitelist. But cookies not in my minimal whitelist are not being deleted.

So do I misuderstand what CAD does or does it have a bug?

more options

選擇的解決方法

You can create a cookie allow exception with the proper protocol (https:// or http://) to make a website remember you

  • using "Delete cookies and site data when Firefox is closed" to clear cookies keeps cookies with an allow exception
    in 102+ version toggling this setting makes changes to the "Clear history when Firefox closes" settings and those settings prevail
  • using "Clear history when Firefox closes" in Firefox 102+ honors exceptions and keeps cookies with an allow exception, previous versions removed all cookies

Make sure to keep the "Site settings".

  • clearing "Site settings" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data
  • Settings -> Privacy & Security
    Cookies and Site Data: "Manage Exceptions"
  • Settings -> Privacy & Security
    Firefox will: "Use custom settings for history":
    [X] "Clear history when Firefox closes" -> Settings
more options

cor-el:

Thank you, your suggestion has seemed to solve the problem. I would classify the root cause of the problem as poor documentation.

The entries "Manage Data" are described as follows. You can specify which websites are always or never allowed to use cookies and site data. Allowing a site to use cookies is different than whether or not a site cookies are preserved when Firefox is closed. There may be better documentation on the details of what Manage Data entries do (and the relationship between HistorySetting>SiteData and ManageData), but I could not find it. Certainly https://support.mozilla.org/en-US/kb/storage?as=u&utm_source=inproduct&redirectslug=permission-store-data&redirectlocale=en-US did not provide the necessary information.