Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Accessing Firefox profile name via add-on

  • 1 phendula
  • 0 inale ngxaki
  • Impendulo yokugqibela ngu Paul

more options

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().

All Replies (1)

more options

Hi

I recommend that you ask about this in the official add-ons forum at:

https://discourse.mozilla.org/c/add-ons/35

Helpful?

Buza umbuzo

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.