tabs.ZoomSettingsScope
Defines whether zoom changes will persist for the page's origin, or only take effect in this tab. This defaults to per-origin
when tabs.zoomSettingsMode
is "automatic", and is always per-tab
otherwise.
Type
Values of this type are strings. Possible values are:
- "per-origin"
- All other tabs with the same origin as this tab will have the zoom changes applied to them. This scope is only available if
tabs.zoomSettingsMode
is "automatic". - "per-tab"
- Zoom changes only take effect in this tab, and zoom changes in other tabs will not affect the zooming of this tab. Also:
- in Firefox the zoom level persists across page loads and navigation within the tab.
- in Chrome-based browsers zoom changes are reset on navigation; navigating a tab will always load pages with their per-origin zoom factors.
Browser compatibility
Report problems with this compatibility data on GitHubwebextensions-desktop | webextensions-mobile | |||||
---|---|---|---|---|---|---|
ZoomSettingsScope | ChromeFull supportYes | EdgeFull support79 | FirefoxFull support45 | OperaFull supportYes | SafariNo supportNo | Firefox for AndroidNo supportNo |
Legend
- Full support
- Full support
- No support
- No support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Acknowledgments
This API is based on Chromium's chrome.tabs
API. This documentation is derived from tabs.json
in the Chromium code.
Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.