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

搜索 | 用户支持

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

详细了解

Can we get a "keep until ..." option for third party cookies and site data, just like the option for first party cookies?

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 kevwil

more options

Since Firefox can differentiate between first party and third party cookies & site data, it would be great to have a general setting to delete third party cookies & site data when I close Firefox. This way I can accept all these annoying cookie policy agreements without opting in to tracking.

Since Firefox can differentiate between first party and third party cookies & site data, it would be great to have a general setting to delete third party cookies & site data when I close Firefox. This way I can accept all these annoying cookie policy agreements without opting in to tracking.

被采纳的解决方案

There is a setting to make all third party cookies "session only" cookies, so if that's what you were planning to select, this should take care of it:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste cook and pause while the list is filtered

(3) Double-click the network.cookie.thirdparty.sessionOnly preference to switch the value from false to true

I notice there's also network.cookie.thirdparty.nonsecureSessionOnly but I don't know whether you need to change that one, too. I guess it can't hurt.

定位到答案原位置 👍 1

所有回复 (2)

more options

选择的解决方案

There is a setting to make all third party cookies "session only" cookies, so if that's what you were planning to select, this should take care of it:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste cook and pause while the list is filtered

(3) Double-click the network.cookie.thirdparty.sessionOnly preference to switch the value from false to true

I notice there's also network.cookie.thirdparty.nonsecureSessionOnly but I don't know whether you need to change that one, too. I guess it can't hurt.

more options

That should work, thanks! I think a UI for this would be nice to have, but I'm happy this behavior can be set at all.