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

搜尋 Mozilla 技術支援網站

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

了解更多

Manage Excepitions in Privacy and Security

  • 4 回覆
  • 1 有這個問題
  • 6 次檢視
  • 最近回覆由 cor-el

more options

I have chosen to delete cookies and site data when Firefox is closed. However I want to make certain exceptions. That normally works fine.

However that are certain sites that are listed in the "Managing Data"-list that are not proceeded with a "https://www...", a typical example is "google.com".

I have not been able to add such sites to the exceptions.

If I just write "google.com" in "Address of website", and choose Allow, the system automatically adds a "https://www.../ in front so the exceptions list looks like . . https://www. google.com . and the cookies listed as google.com are deleted when I close Firefox.

How can I add such sites to the exceptions?

I have chosen to delete cookies and site data when Firefox is closed. However I want to make certain exceptions. That normally works fine. However that are certain sites that are listed in the "Managing Data"-list that are not proceeded with a "https://www...", a typical example is "google.com". I have not been able to add such sites to the exceptions. If I just write "google.com" in "Address of website", and choose Allow, the system automatically adds a "https://www.../ in front so the exceptions list looks like . . https://www. google.com . and the cookies listed as google.com are deleted when I close Firefox. How can I add such sites to the exceptions?

被選擇的解決方法

Solved it myself.

從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

選擇的解決方法

Solved it myself.

more options

For other who read this:

You can create an allow exception manually yourself via "Options/Preferences"

  • Options/Preferences -> Privacy & Security
    Cookies and Site Data -> Exceptions

That way you can create an allow exception for the toplevel domain: https://google.'com

more options

I would like to add that it does not work if you, as I had, not only chosen to delete cookies when Firefox is closed, but also chosen to delete history when Firefox is closed, and included cookies in "Settings for Clearing History".

I don't know the difference between the deleting of cookies when Firefox is closed, and deleting cookies with the other items in the clearing history process. But the latter seems to set all cookies to zero as seen in "Manage Data.." for cookies.

Anyhow, the exceptions did not work for me when cookies where also included in the "Settings for Clearing History".

The technical reason for that can perhaps someone else explain, for those interested.

more options

You only keep cookies with an allow exception if you use "Delete cookies and site data when Firefox is closed". Any other way to clear cookies removes all specified cookies. You also need to keep the Site Preferences.

  • clearing "Site Preferences" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data
  • clearing "Cookies" will remove all selected cookies including cookies with an allow exception you may want to keep