Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

ابحث في الدعم

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

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

  • 2 (ردّان اثنان)
  • 1 has this problem
  • 20 views
  • آخر ردّ كتبه 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.

Read this answer in context 👍 1

All Replies (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.