搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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