Reputation: 20817
How is it possible to program an Addon that changes a certain config value in Firefox, that usually is only accessible via about:config
?
Is there a template I could use? Or Do I have to start from scratch?
Upvotes: 0
Views: 128
Reputation: 33162
Please see the Preferences documentation and API reference, in particular Adding preferences to an extension and Code Snippets.
Just to be clear: The nsIPreference*
APIs can be used to query/modify any preference, not just add-on specific ones.
SDK users should use simple-prefs
(for add-on prefs), and/or preferences/service
.
Upvotes: 1