I'm writing a native web extension, and I need to be able to distinguish between different local browser profiles from each other in the native portion of the extension.
Is there a way to get some sort of unique identifier from the background script context to pass to the native extension? Chrome has chrome.identity
but unless the user is signed in, chrome.identity.getProfileUserInfo().id
is empty, and Firefox doesn't appear to have an equivalent.