browserSettings
Enables an extension to modify certain global browser settings. Each property of this API is aBrowserSetting object, providing the ability to modify a particular setting.
Because these are global settings, it's possible for extensions to conflict. See the documentation forBrowserSetting.set() for details of how conflicts are handled.
To use this API, you need the "browserSettings"permission.
In this article
Properties
browserSettings.allowPopupsForUserEventsDetermines whether code running in web pages can display popups in response to user events.
browserSettings.cacheEnabledDetermines whether the browser cache is enabled or not.
browserSettings.closeTabsByDoubleClickDetermines whether the selected tab can be closed with a double click.
browserSettings.colorManagementDetermines various settings for color management.
browserSettings.contextMenuShowEventDetermines the mouse event that triggers a context menu popup.
browserSettings.ftpProtocolEnabledDetermines whether the FTP protocol is enabled.
browserSettings.homepageOverrideReads the value of the browser's home page.
browserSettings.imageAnimationBehaviorDetermines how the browser treats animated images.
browserSettings.newTabPageOverrideReads the value of the browser's new tab page.
browserSettings.newTabPositionControls the position of new tabs relative to the open tabs.
browserSettings.openBookmarksInNewTabsDetermines whether bookmarks open in the current tab or a new tab.
browserSettings.openSearchResultsInNewTabsDetermines whether search results open in the current tab or a new tab.
browserSettings.openUrlbarResultsInNewTabsDetermines whether address bar autocomplete suggestions are opened in the current tab or a new tab.
browserSettings.overrideContentColorSchemeControls whether to override the browser theme (light or dark) when setting pages' preferred color scheme.
browserSettings.overrideDocumentColorsControls whether the user-chosen colors override the page's colors.
browserSettings.tlsVersionRestrictionConfigReads the highest and lowest versions of TLS supported by the browser.
browserSettings.useDocumentFontsControls whether the browser uses the fonts specified by a web page or uses only built-in fonts.
browserSettings.verticalTabsControls whether the browser displays the tab bar horizontally or vertically.
browserSettings.webNotificationsDisabledPrevents websites from showing notifications using the
NotificationWeb API.browserSettings.zoomFullPageControls whether zoom is applied to the entire page or to text only.
browserSettings.zoomSiteSpecificControls whether page zoom is applied on a per-site or per-tab basis. If
privacy.websites.resistFingerprintingis true, this setting has no effect and zoom is applied on a per-tab basis.