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.
browserSettings.allowPopupsForUserEvents
browserSettings.cacheEnabled
browserSettings.closeTabsByDoubleClick
browserSettings.colorManagement
browserSettings.contextMenuShowEvent
browserSettings.ftpProtocolEnabled
browserSettings.homepageOverride
browserSettings.imageAnimationBehavior
browserSettings.newTabPageOverride
browserSettings.newTabPosition
browserSettings.openBookmarksInNewTabs
browserSettings.openSearchResultsInNewTabs
browserSettings.openUrlbarResultsInNewTabs
browserSettings.overrideDocumentColors
browserSettings.useDocumentFonts
browserSettings.webNotificationsDisabled
Notification
Web API.browserSettings.zoomFullPage
browserSettings.zoomSiteSpecific
privacy.websites
.resistFingerprinting
is true, this setting has no effect and zoom is applied on a per-tab basis.Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
allowPopupsForUserEvents |
No |
No |
57 |
? |
No |
No |
? |
? |
57 |
? |
? |
? |
cacheEnabled |
No |
No |
56 |
? |
No |
No |
? |
? |
56 |
? |
? |
? |
closeTabsByDoubleClick |
No |
No |
61 |
? |
No |
No |
? |
? |
No |
? |
? |
? |
colorManagement |
No |
No |
91 |
? |
No |
No |
? |
? |
No |
? |
? |
? |
contextMenuShowEvent |
No |
No |
59 |
? |
No |
No |
? |
? |
59 |
? |
? |
? |
ftpProtocolEnabled |
No |
No |
72
From version 88, this setting is read-only (see bug 1626365).
|
? |
No |
No |
? |
? |
No |
? |
? |
? |
homepageOverride |
No |
No |
57 |
? |
No |
No |
? |
? |
57 |
? |
? |
? |
imageAnimationBehavior |
No |
No |
57 |
? |
No |
No |
? |
? |
57 |
? |
? |
? |
newTabPageOverride |
No |
No |
57 |
? |
No |
No |
? |
? |
57 |
? |
? |
? |
newTabPosition |
No |
No |
61 |
? |
No |
No |
? |
? |
61
This setting can be changed but has no effect.
|
? |
? |
? |
openBookmarksInNewTabs |
No |
No |
59 |
? |
No |
No |
? |
? |
59 |
? |
? |
? |
openSearchResultsInNewTabs |
No |
No |
59 |
? |
No |
No |
? |
? |
59 |
? |
? |
? |
openUrlbarResultsInNewTabs |
No |
No |
61 |
? |
No |
No |
? |
? |
61 |
? |
? |
? |
overrideDocumentColors |
No |
No |
61 |
? |
No |
No |
? |
? |
61 |
? |
? |
? |
useDocumentFonts |
No |
No |
61 |
? |
No |
No |
? |
? |
61 |
? |
? |
? |
webNotificationsDisabled |
No |
No |
58 |
? |
No |
No |
? |
? |
58 |
? |
? |
? |
zoomFullPage |
No |
No |
75 |
? |
No |
No |
? |
? |
No |
? |
? |
? |
zoomSiteSpecific |
No |
No |
75 |
? |
No |
No |
? |
? |
No |
? |
? |
? |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/browserSettings