Add or replace bootstrap functionality with new architecture (manifest.json)
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?
All Replies (2)
You should post in the Addons support forum, which is over here: https://discourse.mozilla-community.org/c/add-ons
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).