Enables an extension to modify certain global browser settings. Each property of this API is a
BrowserSetting
object, providing the ability to modify a particular setting.Because these are global settings, it's possible for extensions to conflict. See the documentation for
BrowserSetting.set()
for details of how conflicts are handled.To use this API you need to have the "browserSettings" permission.
Properties
browserSettings.cacheEnabled
- Determines whether the browser cache is enabled or not.
Browser compatibility
The "Chrome incompatibilities" section is included from https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Chrome_incompatibilities using the WebExtChromeCompat macro.
If you need to update this content, edit https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Chrome_incompatibilities, then shift-refresh this page to see your changes.
Edge incompatibilities
Promises are not supported in Edge. Use callbacks instead.
Chrome incompatibilities
None.