From version 50 of Firefox Nightly (not yet rolled out beyond this testing phase) Mozilla added the ability to compartmentalise identities you use in your browser.
I've found it to be a phenomenal tool and use it every day. It's seperates out session cookies, indexDB, localStorage, and Cache. You can only share this information only across the same container. As long as you keep a tab open, all this data is retained. Once you close all of the container tabs, all the session data is deleted. Immediately opening another tab of the same container, once you've done this, will be an entirely fresh session. Very reassuring level of added control I'm sure you'll agree.
- Download and open Firefox Nightly
- Open menu (via the hamburger button '≡')
- Select
Customize
- From the left drag
Open Container Tab
to the the customisable menu open on the right [You could alternatively drag this to your toolbar. It will save you a click every time by adding it to the toolbar] - Select
Exit Customize
- To open the container menu
- Open menu (via the hamburger button '≡')
- Select
Open Container Tab
[Or if you dragged containers to your toolbar, simply click its icon, then select the container session you wish to open in a new tab] - To edit your available containers
- From this same menu option select
Manage containers
You can also get here by typingabout:preferences#containers
into the address bar - Select
Remove
to delete a container - Select
Add New Container
to shock add a new one. You could add an emoji (or five) to the name if you wanted to. - To open a new container tab
- Open menu (via the hamburger button '≡') [Or click on the container icon you dragged to your toolbar]
- Select the container option you wish to use
- Note that this will open a new tab and not perform this action in the current tab
- As a benefit to your privacy, you can not open a currently open tab in a different container. This bugged me for a little while, but this is a beneficial feature of containers.
- To open a webpage URL in a specific container
- Right-click the url
- Select
Open Link in New Container Tab
- Select your desired container option
- or if you have a ton of tabs open
- Select the new
List all tabs
arrow down icon that appears to the right in the tab menu - Select
New container tab
- Select your desired container session or
manage containers
to edit or delete - To move the location of the Containers icon
- Currently you can only have in either the hamburger menu, or the toolbar, not both at once
- To swap location, open menu (via the hamburger button '≡')
- Drag the 'Open container tab' icon to your desired location
- Select
Exit customize
As Firefox Nightly is even before Firefox Beta you might find things occasionally break. With that in mind, however, it is the most actively updated version of Firefox around. Many Mozillians use Nightly as their everyday browser.
Do keep in mind that you might struggle to open a variety of versions of Firefox simultaneously. This can be acheived a simple terminal command [Edit: this does not work for me, does anyone know how to acheive this?]--no-remote
. So for example firefox --no-remote