搜尋 Mozilla 技術支援網站

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

了解更多

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.