搜尋 Mozilla 技術支援網站

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

了解更多

How can I keep certain cookies when clearing recent history?

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

more options

Good morning. About once a week, I clear my recent history through the Firefox browser. I have the most recent version installed. When I do, I have the box checked to clear the cookies. However, there is one website that has an issue with that. My bank's site, when clearing the cookies, requires an e-mail verification each time I clear the system. I have to go to my email, get a code, go to the bank's website and input the code to be verified. This is a royal pain and a major inconvenience, as you would imagine. I spoke with their technical department and there is no other option. How do I continue to be able to clear out the recent history, but keep certain cookies stored in Firefox? Thank you for any help you can give me.

Good morning. About once a week, I clear my recent history through the Firefox browser. I have the most recent version installed. When I do, I have the box checked to clear the cookies. However, there is one website that has an issue with that. My bank's site, when clearing the cookies, requires an e-mail verification each time I clear the system. I have to go to my email, get a code, go to the bank's website and input the code to be verified. This is a royal pain and a major inconvenience, as you would imagine. I spoke with their technical department and there is no other option. How do I continue to be able to clear out the recent history, but keep certain cookies stored in Firefox? Thank you for any help you can give me.

所有回覆 (3)

more options

That is a security setting with some web sites. The site leaves a cookie on your computer as proof that your computer has been there before.

One option is to not clear those cookies. An add-on may help you.

Go to the Mozilla Add-ons Web Page {web link} (There’s a lot of good stuff here) and search for cookie.

more options

Good morning. I don't known if an extension can do that, but from "Clear recent history" session you can not keep certain cookies stored. To do that (keep specific cookies) you have to go to Privacy panel(of the Firefox Options window) > in History - Firefox will session > select Use custom settings for history > check Accept cookies from sites > open Show Cookies… > and delete everything except the cookies you want to keep (bank cookies) > click Ok to save that.

see also : Delete cookies to remove the information websites have stored on your computer


thank you

more options

Let all cookies expire when Firefox is closed to make them session cookies.

  • Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: Keep until: "I close Firefox"

Create a cookie 'allow' exception for cookies that you would like to keep.

  • Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: Exceptions

You can allow third-party cookies only from visited domains.

  • Tools > Options > Privacy > Firefox will: "Use custom settings for history"

You can set the network.cookie.thirdparty.sessionOnly pref to true on the about:config page to make third-party cookies behave as session cookies that expire when Firefox is closed.


Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.

Clearing cookies will remove all specified (selected) cookies including cookies with an allow exception that you would like to keep.