I am porting a “legacy” firefox addon to use webextension API. This addon modifies a global preference (signon.rememberSignons) to stop the browser password manager.
Issue:
The “component” object does not expose the class property anymore.
I can’t use the preference service available in JDK
=>Is there any other solution than wait for the chrome object to expose a “privacy” property to appear (not available in FF46)?
WebExtensions won’t support access to arbitrary preferences. At the moment it doesn’t support access to the password manager either, though it may in the future.
Why is your extension disabling the password manager? Does it replace it with something else?
Hello Jorge, yes our extension is a password management extension and we want the standard FF behavior to be deactivated once our user has signed in our extension. This is basically to avoid interferences between our stuff and the FF password manager to not confuse the user.
[quote=“slosd, post:4, topic:8561”]
Do you have a source for that?[/quote]
I think everyone working on WebExtensions would agree with that, but I don’t know if it’s written down anywhere. It’s certainly not part of any plans for the WebExtensions API.
Yeah, in that case the default API won’t work for you. There is an alternative, which is the native.js initiative, which is meant to allow add-ons to extend the WebExtensions API on a case-by-case basis. This is still very early in development, though.
Jorge, thanks,
Is there a roadmap somewhere where we can check what are the expected dates/FF releases to enhance Webextensions & get an idea of the status of native.js ?
The progress of the API can be seen at http://arewewebextensionsyet.com/. If you want to get more involved and get more concrete answers I suggest you use the contact info provided in the wiki page.