Accessing Firefox profile name via add-on
Hi!
I've been browsing the web looking for a way to access the browser's current profile name programmatically. I'm writing a little browser extension that should run code conditionally depending on what the current profile is. I'm wondering if there's any way to do this? The closest thing I found was runtime.getBrowserInfo() runtime.getBrowserInfo().
Hi!
I've been browsing the web looking for a way to access the browser's current profile name programmatically. I'm writing a little browser extension that should run code conditionally depending on what the current profile is. I'm wondering if there's any way to do this? The closest thing I found was [https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/getBrowserInfo runtime.getBrowserInfo()] runtime.getBrowserInfo().
Alla svar (1)
Hi
I recommend that you ask about this in the official add-ons forum at: