This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Looking for a way to keep specific cookies from a site permanent.

more options

Hello,

I've been using the 2-step verification method with my Gmail account and , having set cookies' lifetime to session only, wanted to keep the setting that allows my PC to log in without checking the smartphone every time.

First I thought to add an entry to the exception list with the accounts.google.com domain, but I want to log in my account with my password whenever I restart Firefox so that's a no go.

So I was thinking that if I kept the specific cookie from accounts.google.com that identifies my PC as a trusty device (which I believe is called SMSV) then that would be it, though perhaps its not that simple. In any case, if that was indeed a solution, how would you guys select only a few cookies from the same site in Firefox? Is it possible?

Hello, I've been using the 2-step verification method with my Gmail account and , having set cookies' lifetime to session only, wanted to keep the setting that allows my PC to log in without checking the smartphone every time. First I thought to add an entry to the exception list with the accounts.google.com domain, but I want to log in my account with my password whenever I restart Firefox so that's a no go. So I was thinking that if I kept the specific cookie from accounts.google.com that identifies my PC as a trusty device (which I believe is called SMSV) then that would be it, though perhaps its not that simple. In any case, if that was indeed a solution, how would you guys select only a few cookies from the same site in Firefox? Is it possible?

All Replies (3)

more options

I think there are one or more extensions designed to retain certain critical cookies even if they are normally cleared. I haven't tried any of them myself and there are so many cookie extensions that I can't remember the name(s).

more options

Ok, I was hoping that there was some built-in feature for this. I'll look for some extensions then. Thank you anyways.

more options

The built-in feature can keep cookies for a site (Manage Permissions), but not as specific as particular cookies for a site.