X
Tap here to go to the mobile version of the site.

Support Forum

Option to preserve cookies for a specific domain when removing all history

Posted

Hello,

I am removing my browsing history frequently, and this includes two-factor authentication tokens as well (for Outlook, Gmail, which I use frequently). And I would like to preserve this ones specifically when removing all history. Would like to see an option to make exclusions for specific domains, so I can clear all history without having to authenticate agàin with 2-fa and my smartphone. This is my struggle. 2-fa is not fun this way. It could be a good idea, what do you think?

Kind regards, Lajos

Hello, I am removing my browsing history frequently, and this includes two-factor authentication tokens as well (for Outlook, Gmail, which I use frequently). And I would like to preserve this ones specifically when removing all history. Would like to see an option to make exclusions for specific domains, so I can clear all history without having to authenticate agàin with 2-fa and my smartphone. This is my struggle. 2-fa is not fun this way. It could be a good idea, what do you think? Kind regards, Lajos
Attached screenshots

Chosen solution

Hi Lajos, could I say, "sort of"?

With the built-in features of Firefox, what you can do is set Firefox to expire out all the cookies at the end of the session, and then create exceptions/permissions for sites you want to be able to set persistent cookies that will survive exiting out of Firefox. That's the strategy I use.

The relevant part of the Options page looks like this:

Enter permissions with the protocol. It may work best to use the base domain, but you also can put the full domain to cover your bases:

https://live.com
https://outlook.live.com

IMPORTANT: If you use the "Clear history when Firefox closes" feature, use the Settings button to the right and make sure you do NOT clear Cookies or Site Preferences. Clearing cookies here doesn't honor exceptions, and clearing Site Preferences probably will delete your exceptions list.

What do you think?

Read this answer in context 1
Quote

Additional System Details

Installed Plug-ins

uBlock, startpage.com

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

More Information

Dinushi Dhananjani
  • Top 25 Contributor
5 solutions 216 answers

Click Firefox button or Tools menu, then click Options.

   Select Privacy panel.
   Set Firefox will: to “Use custom settings for history”
   Click Show Cookies.
   In the search field, type the name of the site whose cookies you want to remove.
   Select the cookie in the list to remove and click “Remove Cookie”
   Click “Close”
Click Firefox button or Tools menu, then click Options. Select Privacy panel. Set Firefox will: to “Use custom settings for history” Click Show Cookies. In the search field, type the name of the site whose cookies you want to remove. Select the cookie in the list to remove and click “Remove Cookie” Click “Close”
Was this helpful to you? 0
Quote

Question owner

That is not what I mean. I mean exclusions for domains, to nòt remove (if you clear all history)

That is not what I mean. I mean exclusions for domains, to nòt remove (if you clear all history)
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8837 solutions 72222 answers

Chosen Solution

Hi Lajos, could I say, "sort of"?

With the built-in features of Firefox, what you can do is set Firefox to expire out all the cookies at the end of the session, and then create exceptions/permissions for sites you want to be able to set persistent cookies that will survive exiting out of Firefox. That's the strategy I use.

The relevant part of the Options page looks like this:

Enter permissions with the protocol. It may work best to use the base domain, but you also can put the full domain to cover your bases:

https://live.com
https://outlook.live.com

IMPORTANT: If you use the "Clear history when Firefox closes" feature, use the Settings button to the right and make sure you do NOT clear Cookies or Site Preferences. Clearing cookies here doesn't honor exceptions, and clearing Site Preferences probably will delete your exceptions list.

What do you think?

Hi Lajos, could I say, "sort of"? With the built-in features of Firefox, what you can do is set Firefox to expire out all the cookies at the end of the session, and then create exceptions/permissions for sites you want to be able to set persistent cookies that will survive exiting out of Firefox. That's the strategy I use. The relevant part of the Options page looks like this: <img src="https://user-media-prod-cdn.itsre-sumo.mozilla.net/uploads/images/2019-11-04-17-40-04-d7194e.png" width="500"> Enter permissions with the protocol. It may work best to use the base domain, but you also can put the full domain to cover your bases: https://live''.''com https://outlook.live''.''com <img src="https://user-media-prod-cdn.itsre-sumo.mozilla.net/uploads/images/2019-11-04-17-42-12-ca959a.png" width="500"> IMPORTANT: If you use the "Clear history when Firefox closes" feature, use the Settings button to the right and make sure you do NOT clear Cookies or Site Preferences. Clearing cookies here doesn't honor exceptions, and clearing Site Preferences probably will delete your exceptions list. What do you think?
Was this helpful to you? 1
Quote

Question owner

Thats some kind of golden mean, but your idea is fine for now, I dont need to challenge a 2-fa again, lol! I expected an option persist cookies for a specific domain (and clear all others), but checking 'clear cookies' one time a month is fine. Thank you for your response!

Thats some kind of golden mean, but your idea is fine for now, I dont need to challenge a 2-fa again, lol! I expected an option persist cookies for a specific domain (and clear all others), but checking 'clear cookies' one time a month is fine. Thank you for your response!
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.