On Wednesday March 19th from 2PM - 2:15PM PDT (9PM - 9:15PM UTC), we will be performing system maintenance for about 15 minutes, probably less. During that brief maintenance window, the site will be in read-only mode, so users will not be able to login to their accounts or create/modify content.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Accessing Firefox profile name via add-on

  • 1 ответ
  • 0 имеют эту проблему
  • 6 просмотров
  • Последний ответ от 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().

Все ответы (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