For such use cases I use different browser profiles. It is a bit tiresome to set up, but afterward it works.
For example, I have a profile for watching videos via Amazon and Netflix, which uses dark mode and some high-resolution extensions, but not tree-style-tabs which I use with my normal browser profile.