Tab-Groups icon indicating copy to clipboard operation
Tab-Groups copied to clipboard

Tab Groups with their own cookies

Open hgouveia opened this issue 9 years ago • 7 comments

Would be great if we can have a tab group with their own set of cookies as an option, without limit, i mean you can have as many tab group you want with their own cookies

For example you can have a tab group named Personal , and have your email account in there, and then have a Work Tab group with your another email , etc,

This is a feature that Firefox promises but never been implemented

hgouveia avatar Jan 18 '16 11:01 hgouveia

It's a very interesting suggestion. I don't know if it's possible, but it's definitely worth checking it out.

Quicksaver avatar Jan 18 '16 11:01 Quicksaver

Something like this? https://addons.mozilla.org/en-US/firefox/addon/multifox

simonweil avatar Jan 23 '16 22:01 simonweil

There's something called containers/contextual identity on nightly: https://bugzilla.mozilla.org/show_bug.cgi?id=1191418

the8472 avatar Jan 29 '16 01:01 the8472

@the8472 I just saw that on HN and remembered this issue. I think the options could be something like:

  • [ ] Create containers for groups
    • [ ] Enforce containers for groups

The effect being

  • Creating containers for groups causes each group to have an associated container, any new tabs in the group gets put in the container
  • Enforcing containers would cause any tabs moved from group to group to be moved from container to container - useful if you want to auto contain groups and keep groups / containers in sync.
    • Alternatively, the option could be inverted to Allow mixed containers in groups, to allow people to have containers associated with groups but also allow them to have tabs in different containers existing in the same group when manually moved like that.

There are probably other simpler ways to leverage containers to achieve this effect, but I think this would be a very flexible way of going about it.

stephen304 avatar Jun 16 '16 14:06 stephen304

I was thinking about this issue and how great it would be to integrate with container tabs. I have been using container tabs for a while now and they're really useful, however, there are a few problems, I think, even if the APIs are exposed.

The first and most important is that, I don't think it is possible to move a container tab to a different container. I'm not even sure what that would do... erase your cookies when you move the tab? It might produce some unexpected behavior.

I could envision each tab group getting a default container, though (say, a dropdown button in the corner of each tab group near the title). That way, any new tabs opened while that tab group is active would be automatically initiated within that group's default container. This would be especially helpful if/when Firefox allows the creation of custom containers.

jxn avatar Nov 18 '16 14:11 jxn

Looks like there is now API access to container tabs, though I haven't dug through it yet. https://bugzilla.mozilla.org/show_bug.cgi?id=1302697

I don't see a full doc on the userContainer portion of the WebExtension API yet, though. Anyone see it?

jxn avatar Nov 18 '16 22:11 jxn

I have dug through the FF source a bit:

It looks like the tab APIs has a parameter to add a numerical user context ID.

And the IDs can be managed with about:preferences#containers which is a frontend for ContextualIdentityService.jsm

So i guess we have all necessary tools now.

the8472 avatar Nov 20 '16 12:11 the8472