I would like to create a WebExtension that provides toggle buttons for some of the settings in about:config
(e.g. permissions.default.image
).
- Is it possible to do this in WebExtensions?
- If so, what is the API?
I belive that this question predates WebExtensions: A Firefox extension that changes a value in the about:config
This question is actually about print dialogs: Is it possible to set config settings on Firefox from a Addon
I would like to create a WebExtension that provides toggle buttons for some of the settings in about:config
(e.g. permissions.default.image
).
- Is it possible to do this in WebExtensions?
- If so, what is the API?
I belive that this question predates WebExtensions: A Firefox extension that changes a value in the about:config
This question is actually about print dialogs: Is it possible to set config settings on Firefox from a Addon
Share Improve this question asked Apr 25, 2018 at 13:16 sdgfsdhsdgfsdh 37.3k31 gold badges161 silver badges291 bronze badges1 Answer
Reset to default 9This is not possible. Your best bet is to open a page informing your users of what they need to do in order to use your extension.
A limited amount of preferences is available in browserSettings and privacy.
https://developer.mozilla/en-US/Add-ons/WebExtensions/API/browserSettings https://developer.mozilla/en-US/Add-ons/WebExtensions/API/privacy
You could also write a native messaging program which changes the preferences on disk level. See https://developer.mozilla/en-US/Add-ons/WebExtensions/Native_messaging