Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

Add or replace bootstrap functionality with new architecture (manifest.json)

  • 2 odpowiedzi
  • 2 osoby mają ten problem
  • 10 wyświetleń
  • Ostatnia odpowiedź od cor-el

more options

Hello to everyone. I have a plugin which change user network settings to proxy by firefox preferences. But when I try to upload it on mozilla market it say to me that I need to upload WebExtentions. I have a bootstrap plugin version with install.rdf. Firefox wants manifest.json instead of it. Can I include bootstrap by the manifest.json or use some analoge for this? I didn`t find that in the docs. How I can replace Services.prefs.getBranch("network.proxy."); for example? Does anybody knows?

Hello to everyone. I have a plugin which change user network settings to proxy by firefox preferences. But when I try to upload it on mozilla market it say to me that I need to upload WebExtentions. I have a bootstrap plugin version with install.rdf. Firefox wants manifest.json instead of it. Can I include bootstrap by the manifest.json or use some analoge for this? I didn`t find that in the docs. How I can replace Services.prefs.getBranch("network.proxy."); for example? Does anybody knows?

Wszystkie odpowiedzi (2)

more options

You should post in the Addons support forum, which is over here: https://discourse.mozilla-community.org/c/add-ons

more options

A manifest.json file is used by WebExtensions.

You won't be able to access prefs directly via a WebExtension as there is no API planned for this as far as I know (I don't know about proxy settings).