The extension intelligently sends requests to the daemon, based on configured domains, and the core logic to achieve is by mapping tabs to domains, and flagging which domains are active currently. However, when a browser is starts, and there are left over existing tabs with an active configurable domain, the extension won't check that.
To resolve this, we need to have a function that runs at launch, and creates tab domain mappings for existing tabs, as well as update activeDomains array.
The extension intelligently sends requests to the daemon, based on configured domains, and the core logic to achieve is by mapping tabs to domains, and flagging which domains are active currently. However, when a browser is starts, and there are left over existing tabs with an active configurable domain, the extension won't check that.
To resolve this, we need to have a function that runs at launch, and creates tab domain mappings for existing tabs, as well as update
activeDomainsarray.