Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

如何清除cookies时又保留要的cookies呢?

  • 3 replies
  • 2 have this problem
  • 1 view
  • Last reply by cor-el

more options

如题 我使用关闭火狐时自动清除cookies 但是又想保留某些网站的cookies 有方法可以保留吗

比如:关闭时全部清除 而只保留youtube.com的cookies

如题 我使用关闭火狐时自动清除cookies 但是又想保留某些网站的cookies 有方法可以保留吗 比如:关闭时全部清除 而只保留youtube.com的cookies

Modified by start3214

All Replies (3)

more options

Let all cookies expire when you close Firefox.

  • Tools > Options > Privacy > Cookies: "Keep until": "I close Firefox"

Make an Allow exception for the ones that you want to keep.

You can inspect and modify the permissions for the domain in the current tab in "Tools > Page Info > Permissions"

Make sure that you do not use "Clear Recent History" to clear the "Cookies" and the "Site Preferences" (Site Preferences includes the cookie exceptions)

Clearing cookies will remove all specified (selected) cookies including cookies that have an allow exception.

See also:

more options

I want to clear all cookies just leave I want to

You give those did not teach

more options

As posted above, if you remove all cookies when you close Firefox then you can't set an exception to keep certain cookies.
An allow exception only works if you let all cookies expire by default at the end of the current sessions.
The result is the same as with removing cookies if you do not have any allow exception set, but with an allow exception you will keep cookies from allowed domains.