When I want to stay logged into anything I self-manage and create a named container. (This requires micromanaging but is at least opt-in.)
But the default of separate temp containers is great.
But just consider the automatic way a regular user clicks at any prompt that gets in their way out of habit...
I am guilty of this sometimes, even though I try to be mindful and always try to opt-out of tracking cookies, etc.
I think the system you're proposing has to have some sort of smart way to whitelist, either by granting temporary whitelisting with varying granularity (e.g. for this session, for 1 hour, forever ... Etc).
I think Privacy Badger (the add-on) has partially solved this (learning through counting how many times a tracker's domain appears on other sites), maybe this could applied in reverse: automatically whitelist after N approvals.
What do you think?
Sadly most sites use a lot of third party javascript, css etc so it will be a clunkier experience than you are hoping for.
edit: sounds like another addon idea: find the minimal set of 3rd parties needed to render a website.
uMatrix tries to do this already with some third party scripts, but itβs a moving target.
What I want is for every web page to run in its own container by default. Zero configuration.
If it wants to access anything outside of its allowed domain hiearchy (like call an external API), I'd like the browser to ask for permission on its behalf. "Github.com would like to share data with Microsoft.com. Allow/Deny?"
There could be some kind of trust standard so that Github.com can prove that they are the same legal entity as Microsoft.com and is therefore authorized to share information without asking. Or perhaps something simpler that is DNS-based, like with email.