Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What you want is the Temporary Containers addon: https://addons.mozilla.org/en-GB/firefox/addon/temporary-con...

It will let you open containers that trash cookies on close. You can also set certain URL's to always open in a tmp container which is useful for sites that only let you read x amount of article per month.



I use this and it works well. You can also add a prefix to your temporary containers. I prefixed mine with “Mr. Meseeks #<Container Number”, which made it pretty hilarious if you also use the “kill tab after time” setting: Mr. Meseeks tabs closing in the background, completing their purpose.


Auto Tab Discard[0] add-on if you don’t want the tab to be lost but want to reclaim your memory and cpu cycles

[0] https://addons.mozilla.org/en-US/firefox/addon/auto-tab-disc...


How is it different/better from incognito mode ?


Incognito isn't as private as the name suggests. I was surprised one day to open a tab in Incognito and see the site I visited knew who I was. That's because I had logged in to a related site in a tab I'd forgotten about in another Incognito window.

My assumption up to then was that each newly opened Incognito tab or window was it's own private session, but this turned out to be wrong - they all share state, as if you had one separate but shared profile called Incognito. This was a little upsetting as I'd been using Incognito for years without realising the data sharing going on.

Temporary Containers does what I'd expected from Incognito. Each new temporary container has its own isolated cookies etc from all the others. So now I open a TC when I want to visit a site without identity or tracking, or to login temporarily with a different account, and don't use Incognito at all.


For what it’s worth, Safari’s incognito mode works exactly how you described it — separate session for each incognito tab/window.


So you can't open two tabs for the same site and share the session between them?


Correct, not in the private browsing mode.


incognito shares state between tabs. temporary containers can have a fresh container for every tab, so your tabs are isolated. you can also use it in a way that by default every site you visit is using a temporary container, with certain urls set to use their corresponding long term containers -- if i go to github, it opens in a github container, if i click a link to some random dev's site, it opens in a temp container, etc.

to provide context, i still use incognito, but i consider incognito mostly about hiding things from myself -- i use it almost exclusively for porn, because i don't want my porn habits in my browser suggestions. temporary tabs still land in the recent urls and such.


You keep your browsing history for one but clear the cookies out after automatically.


You can restart your browser without losing what's it your incognito windows.


So it stores full state when the application is closed, that's a long way off "incognito". Was it always like that?


I expressed myself poorly. In retrospect it sounds like the exact opposite of what I meant, in fact.

What I meant is if you open what you would otherwise open in an incognito window in a container instead, you can restart your browser without those tabs being closed and the respective state being lost.


Some websites are able to detect running in incognito mode because some browser APIs are disabled there, but not in temporary containers


i use this, it sounds like in a way inverted from the way you do -- i have containers for any site that i want to maintain persistence on, then default to a tmp container




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: