搜尋 Mozilla 技術支援網站

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

了解更多

Exceptions to deleting cookies upon exit

  • 2 回覆
  • 1 有這個問題
  • 19 次檢視
  • 最近回覆由 crl4242

more options

Hi,

I normally delete all history, including cookies, each time I log out of Firefox 99.0. I have two sites for which I would like to keep cookies. I entered them as exceptions, but each time I log out those exceptions are lost.

Is there any way I can those specific cookies?

Thank you.

Hi, I normally delete all history, including cookies, each time I log out of Firefox 99.0. I have two sites for which I would like to keep cookies. I entered them as exceptions, but each time I log out those exceptions are lost. Is there any way I can those specific cookies? Thank you.

被選擇的解決方法

Make sure you use "Delete cookies and site data when Firefox is closed" and not "Clear history when Firefox closes" to clear the cookies as the latter doesn't honor exceptions. Also make sure you keep the Site Preferences as clearing the SP includes exceptions.


You can use these steps to make a website recognize and remember you.

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

You can check that you aren't clearing important cookies.

  • using "Delete cookies and site data when Firefox is closed" keeps cookies with an allow exception
  • using "Clear history when Firefox closes" to clear cookies clears all cookies including cookies with an allow exception you may want to keep
  • clearing "Site Preferences" 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

所有回覆 (2)

more options

選擇的解決方法

Make sure you use "Delete cookies and site data when Firefox is closed" and not "Clear history when Firefox closes" to clear the cookies as the latter doesn't honor exceptions. Also make sure you keep the Site Preferences as clearing the SP includes exceptions.


You can use these steps to make a website recognize and remember you.

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

You can check that you aren't clearing important cookies.

  • using "Delete cookies and site data when Firefox is closed" keeps cookies with an allow exception
  • using "Clear history when Firefox closes" to clear cookies clears all cookies including cookies with an allow exception you may want to keep
  • clearing "Site Preferences" 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

Thanks again for your help.