搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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