Webextensions and user preference customizing?

Hello,

I have another quick question this time about webextensions and user preferences.

Can a webextension add/update a user preference, among thoee that are
enumerated in about:config configuration.

I know that we can create a user.js file in the Firefox user profile directory
to customize a particular pref.

Is that possible?

Thanks.

As far as I know, extensions can only change a few preferences:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/browserSettings

2 Likes