I'm syncing state between tabs, but it doesn't respect Firefox multi-account containers.
I want to find out what options exist for getting a fingerprint of a container, so in JavaScript I can conditionally sync state only if I'm using the same container.
My first idea was to use a non-http-only cookie with a uuid, and include that cookie when pushing state to other tabs. Other tabs with a different cookie could drop the incoming state.
I'd like a different strategy though, to bypass any issues with needing consent for a cookie (though this seems like it could fall under an essential cookie).
Any ideas?