We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

搜尋 Mozilla 技術支援網站

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

了解更多

I want to configure Firefox to only accept cookies from a specific list of websites, but my "Allow Exceptions" list is deleted when Firefox closes.

  • 7 回覆
  • 11 有這個問題
  • 8 次檢視
  • 最近回覆由 pneuma08

more options

I want to configure Firefox to only accept cookies from a specific list of websites, but my "Allow Exceptions" list is deleted when Firefox closes. (Firefox 5.0)

I want to configure Firefox to only accept cookies from a specific list of websites, but my "Allow Exceptions" list is deleted when Firefox closes. (Firefox 5.0)

所有回覆 (7)

more options

cookies not saved

Tools > Options > Privacy

Make sure you are not clearing cookies (right side of image)
http://img232.imageshack.us/img232/4928/clearcachew.png

also

  1. make sure you are not in Privacy mode
  2. make sure you are not in permanent privacy mode (under first red circle of picture)

由 David McRitchie 於 修改

more options

No, I want to disallow cookies except for a given session on a particular pair of websites. This is meant to be a public terminal with a very particular purpose. The problem is that it works when disallowing cookies with an exception list (for acceptable websites), but the exception list gets cleared on close.

The correct answer was to uncheck "Site Preferences" under "Privacy->Settings" next to "Clear History when Firefox Closes". I'm not entirely sure what that option does, but apparently it gets rid of Firefox settings rather than website data.

由 pneuma08 於 修改

more options

When using "Clear Recent History" or clearing history when you close Firefox (Options > Privacy, [x] Clear history when closing Firefox > Settings) be sure that "Cookies" and "Site Preferences" are not checked. Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.




You need to update the following. The Plugin version(s) shown below was/were submitted with your question and is/are out of date. You should update to avoid known security issues with the version(s) you have installed. Click on "More system info..." to the right of your question to see what was included with your question.

  • Adobe PDF Plug-In For Firefox and Netscape 10.0.1
  1. Check your plugin versions on either of the following links':
  2. Update Adobe Reader (PDF plugin):
    • From within your existing Adobe Reader (if you have it already installed):
      • Open the Adobe Reader program from your Programs list
      • Click Help > Check for Updates
      • Follow the prompts for updating
      • If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    • Download complete installer (if you do NOT have Adobe Reader installed):
    • After the installation, start Firefox and check your version again.

由 Helper7677 於 修改

more options

Out of curiosity, why does everyone suggest not clearing cookies on close? I don't want cookies to be maintained from session to session, but rather have every time someone opens Firefox to be as if it were the first time, with no cookies, history, or any other data from any other time anyone has used Firefox (albeit with restrictions in place).

Also, what is the point of clearing "Site Preferences"? Why would I ever want to use a white- or blacklist if it'll just get cleared on close?

more options

Personally, I keep nothing; clear everything. But then I do not save passwords, am not interested in history, etc.

And I use a cleaner to clear a lot of things off of my system several times per day; but be careful, cleaners can be quite destructive and can clean/delete files that you did not intend.

"Also, what is the point of clearing "Site Preferences"? Why would I ever want to use a white- or blacklist if it'll just get cleared on close?"

Having some information on your system, cookies, history, and yes, site preferences, can leave "tracks" and can be considered a security/privacy risk.

由 Helper7677 於 修改

more options

Out of curiosity, why does everyone suggest not clearing cookies on close?

How do you expect to keep cookies for certain sites, if you wipe out all of your cookies when the session ends or you clear the same history through the Tools menu. That should be obvious from my first reply. The picture say clear all and I underlined it in red.

The check-mark that you removed and said it solved your problem is related to everything on the right-side that is why only cache is marked to be cleared and why that item was check-marked. If you don't carefully mark the items on the right you have a loose cannon below deck (or maybe a locomotive) on your Tools menu.

more options

@dmcritchie:

How do you expect to keep cookies for certain sites, if you wipe out all of your cookies when the session ends or you clear the same history through the Tools menu

If you mean from session-to-session, I don't expect it to keep cookies. That's the whole point. Every time Firefox is opened, I want it to write a new cookie, and keep that cookie until it closes and no longer than that. (Perhaps I should clarify: I don't mean session in the networking sense but rather in the period of time when one starts using Firefox until Firefox closes.) The behavior I want is for it to be able to write cookies when open, but only for specific sites, and then forget about them on close.

I should also mention that your responses are worthless to me because you don't explain anything. For instance, the quote above is not obvious from your reply of "Make sure you are not clearing cookies". You need to explain this; what is obvious in a reading for you is not obvious for everyone.

Furthermore, how is "Site Preferences" related to "everything on the right-side"? (Not to mention that it's unclear what you mean by "right-side.")