TheNamlessGuy / browser-tab-grouper

Firefox plugin for grouping tabs
15 stars 0 forks source link

Colorize Tab Through Container Or Change Site Icon #5

Closed Jiang10086 closed 3 months ago

Jiang10086 commented 6 months ago

Hi, this is the most perfect tab group extension of Firefox, thanks for developing it.

Use Container

I have see the feature plan, it says "Force you to use separate cookie stores", but it seems not a must-be. A extension named Container Tab Groups provides an option to use same cookies from an container or the same cookies without container (like the normal tabs). image

So I thinks it may be possible to do this things after I group some tabs:

  1. Create a container with the tab group's name and same cookies of the normal tabs.
  2. Let the grouped tabs use the container created. In that way maybe we can see tab colorized tabs.

Change Site Icon

image

Auto Tab Discard can add an dot in the site icon to make the discarded tab differ from the normal tab, I think the tab grouper maybe can add different dot to the tabs belongs to different groups to make it identifiable.

TheNamlessGuy commented 6 months ago

Use Container

As far as I can tell from the documentation, it isn't possible. However, I've found that the documentation isn't 100% correct all of the time. I'll see if I can work something out.

Change Site Icon

Similar to Add tab prefix/favicon replacement on a group-per-group basis in Future plans and fixes. I sadly haven't had time to look into the functionality behind it all.

TheNamlessGuy commented 3 months ago

Unfortunately, it seems that Container Tab Groups literally just copies cookies between cookie stores, not that they combine them somehow. See these two code snippets: #1 #2.

From what I can tell from the documentation, a contextual identity and a cookie store are one and the same:

The cookie store ID for the identity. Since contextual identities don't share cookie stores, this serves as a unique identifier.

which unfortunately doesn't really fit what I want this plugin to do.

I still haven't had the time to look into the site icon thing, but that's listed in future plans, so I'll let that ticket speak for itself.