搜尋 Mozilla 技術支援網站

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

Learn More

keep specific cookies

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

more options

What cor-el wrote in https://support.mozilla.org/en-US/questions/1060006 is partially helpful.

Now I can prevent deleting the google cookies, but I just want only to keep the cookie witch stores the search settings. Specific the Google Instant predictions, never show instant results. and 50 results per page. All other cookies I prefer to be deleted after quitting firefox. If the cookies were stored individually in a map, you could make them read only. But they are stored in a sqlite file/database, so this is not possible. Pity. Is there still a workaround to archive what I want?

What cor-el wrote in https://support.mozilla.org/en-US/questions/1060006 is partially helpful. Now I can prevent deleting the google cookies, but I just want '''only''' to keep the cookie witch stores the search settings. Specific the Google Instant predictions, never show instant results. and 50 results per page. All other cookies I prefer to be deleted after quitting firefox. If the cookies were stored individually in a map, you could make them read only. But they are stored in a sqlite file/database, so this is not possible. Pity. Is there still a workaround to archive what I want?

所有回覆 (4)

more options

Firefox doesn't have a "per-cookie" protection feature that exempts individual cookies from removal.

There are numerous cookie-related add-ons. Two which seem to have the ability to "restore" cleared cookies are the following; I haven't tried them myself:

By the way, I'm assuming you want to preserve the google.com PREF cookie, but you might want to clear it, then reset the preferences, just to make sure it's exactly what you want before saving it.

more options

Is there a guide how to use this support forum. It was a hell of a job for me to find this thread again. It is the first time I use this forum. I'v been visiting some forums but this one works different. What happens clicking This doesn't solve my problem Now I used This email is automatically sent by a robot. Our robot can’t respond to your question, but our forum contributors can! If you want to respond to them, please click here. How did you find this one?

Back to the question: Yes something like this. Do you say that there are add-ons who are cookie related. They preserve some settings, clear the sqlite file and put those preserved settings back in the sqlite fiel? And Yes, the google.com PREF cookie is probably the cookie I was looking for.

more options

If you go to the top of the page and find your username, the drop-down menu allows you to access your profile, which as a link to all threads you have posted in.

I don't know how those add-ons work, but my thought was if you have Firefox set to clear cookies between sessions (for example, in Privacy Options, with "Firefox will: Use custom settings for history", setting "Keep until: I close Firefox") then the add-on could re-establish the PREF cookie when you start up again.

more options

If you are logged on to this forum then you see your name instead of "Sign In" in the menu bar at the top of forum pages.

You can click your name to open the drop down menu.

  • Click "My Questions" to get a search result page with your questions
  • Click "Edit Profile" if you want to modify the current settings
  • Click "View Profile" to find links to your contributions (questions and answers)

You can also use (bookmark) this link: