sdgfsdh
sdgfsdh

Reputation: 37025

Is it possible to create a Firefox WebExtension that changes about:config settings? How?

I would like to create a WebExtension that provides toggle buttons for some of the settings in about:config (e.g. permissions.default.image).


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

Upvotes: 5

Views: 2111

Answers (1)

Smile4ever
Smile4ever

Reputation: 3704

This 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.org/en-US/Add-ons/WebExtensions/API/browserSettings https://developer.mozilla.org/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.org/en-US/Add-ons/WebExtensions/Native_messaging

Upvotes: 9

Related Questions