Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

  • 2 отговора
  • 2 имат този проблем
  • 10 изгледи
  • Последен отговор от 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?

Всички отговори (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).