admin管理员组文章数量:1391929
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
本文标签:
版权声明:本文标题:javascript - Is it possible to create a Firefox WebExtension that changes about:config settings? How? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744661329a2618264.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论