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!

搜尋 Mozilla 技術支援網站

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

了解更多

Is there any way to delete all cookies except those used on the home page?

  • 4 回覆
  • 13 有這個問題
  • 10 次檢視
  • 最近回覆由 drowntroden

more options

Is there any setting in Firefox which would permit me the deletion of all cookies on exit EXCEPT those associated with with specific pages? For example, the iGoogle home page requires a cookie to be set which recognizes the session created in a prior access. If all cookies are deleted on closure of Firefox, the user is required to sign in to iGoogle every time to see their home page. Currently you can delete cookies on exit or accept cookies based on exception. I would like to delete all cookies except those from permitted sources. There is no setting for this that I can find.

Is there any setting in Firefox which would permit me the deletion of all cookies on exit EXCEPT those associated with with specific pages? For example, the iGoogle home page requires a cookie to be set which recognizes the session created in a prior access. If all cookies are deleted on closure of Firefox, the user is required to sign in to iGoogle every time to see their home page. Currently you can delete cookies on exit or accept cookies based on exception. I would like to delete all cookies except those from permitted sources. There is no setting for this that I can find.

所有回覆 (4)

more options

This is not a built-in option, but the CookieCuller add-on appears to do what you want.

由 TonyE 於 修改

more options

Unfortunately, CookieCuller does not work in this instance. Specifically, iGoogle will not remember the last login even when protecting all of the Google related cookies. I think the cookie protection needs to be placed on the domain rather than the individual cookies.

more options

You can let all cookies expire if you close Firefox and set an allow exception for domains that you want to keep the cookies from. Don't use Delete browsing, search and download history on Firefox to clear cookies as that will remove all cookies including ones with an exception, but just let the others expire.

You can always remove cookies manually, e.g. via a click on the favicon and More Information and View Cookies.

You can see all permissions of the current domain here: Tools > Page Info > Permissions

more options

@cor-el: Your suggestion worked. It's not the most intuitive way of doing this, but it works.