MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

Add-ons

browserSettings

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

ChromeEdgeFirefoxFirefox for AndroidOpera
cacheEnabledNoNo5656No

Edge incompatibilities

Promises are not supported in Edge. Use callbacks instead.

Chrome incompatibilities

None.

Document Tags and Contributors

 Contributors to this page: wbamberg
 Last updated by: wbamberg,