Open justinmok opened 2 years ago
This would be great. My personal container can discard tabs whenever, and there are many many tabs in it that I slowly read and maybe document, but I really can't have any work container tab discard as there are often unsaved or uncompleted forms.
tl;dr- (White|Black)list Firefox tabs from discarding by using containers as groups
Feature Request
I propose adding two new configuration options to support containers in Firefox:
For context, Firefox users can use the built-in containers feature to isolate tabs from one another. So in a sense, tabs can be organized by the containers they belong in, similar to tab groups in Chrome. Tabs can be created in different containers.
Use Case
Firefox users like myself can benefit from this feature by simplifying tab discards without involving URLs/hostnames.
For example, I use a combination of Simple Tab Groups and containers to organize my tabs. My browser is configured so that existing and future tabs in the "quarantine" group are added to the "quarantine" container. With this feature, I can make sure that none of my other, possibly important, tabs are discarded.
Mockup
Here's what an implementation of this feature could look like: Options configured to only discard default (uncontained) tabs and tabs belonging to the "Personal" container. Additionally, the option to blacklist is disabled as a result.
Notes:
contextualIdentities
(MDN) API can be used to retrieve tab container information