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

How to set exceptions for automatic cookie-clearing on closure?

  • 21 replies
  • 6 have this problem
  • 288 views
  • Last reply by james235

more options

Firefox is forgetting my two-step google logins. On the google two-step verification page, there's a checkbox which says "Don't ask for codes again on this computer."

But firefox keeps asking for codes.

i have firefox set to clear cookies on closing.

i also have the urls below set as exceptions, in two places:

    -in about:permissions, they are all set to allow, and also to keep offline data without asking
    -in options/privacy/exceptions

mail.google.com maps.google.com calendar.google.com www.google.com shopping.google.com plus.google.com

  • .google.com

google.com gmail.com

this forum is messing up my list, above. Each url is a separate item in exceptions. The bulleted one actually starts with a star. (good job mozilla, thanks for this ancient text editor)

how do clear all cookies EXCEPT the ones above, when i close firefox? Or, is this not a cookie problem?

do i need to include "http://"

this article did not help https://support.mozilla.org/en-US/questions/974020

Firefox is forgetting my two-step google logins. On the google two-step verification page, there's a checkbox which says "Don't ask for codes again on this computer." But firefox keeps asking for codes. i have firefox set to clear cookies on closing. i also have the urls below set as exceptions, in two places: -in about:permissions, they are all set to allow, and also to keep offline data without asking -in options/privacy/exceptions mail.google.com maps.google.com calendar.google.com www.google.com shopping.google.com plus.google.com *.google.com google.com gmail.com this forum is messing up my list, above. Each url is a separate item in exceptions. The bulleted one actually starts with a star. (good job mozilla, thanks for this ancient text editor) how do clear all cookies EXCEPT the ones above, when i close firefox? Or, is this not a cookie problem? do i need to include "http://" this article did not help https://support.mozilla.org/en-US/questions/974020

Modified by johnyradio

Chosen solution

Exception only work if you let the cookies expire and won't work if you clear all cookies manually or via "Clear history when Firefox closes" or via "Clear Recent History". In that case all cookies will be removed or in case of "Clear Recent History" for the specified range. There is no difference between letting the cookies expire when you close Firefox (i.e. make them session cookies) or remove the cookies when you close Firefox, but the latter won't let you keep cookies with an allow exception while the former does honor exceptions and keeps such cookies.

Read this answer in context 👍 0

All Replies (1)

more options

For me only helped when I create an exception for accounts.google.com

Take care: if you use this sollution than you have to sign out from google before closing firefox . (If not you stay log in after closing.)

  1. 1
  2. 2