为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 3 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

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

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

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

由start3214于修改

所有回复 (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.