tabs.ZoomSettingsMode

Defines how zoom changes are handled, i.e. which entity is responsible for the actual scaling of the page; defaults to automatic.

Type

Values of this type are strings. Possible values are:

automatic Zoom changes are handled automatically by the browser.
manual Overrides the automatic handling of zoom changes. The onZoomChange event will still be dispatched, and it is the responsibility of the extension to listen for this event and manually scale the page. This mode does not support per-origin zooming, and will thus ignore the scope zoom setting and assume per-tab.
disabled Disables all zooming in the tab. The tab will revert to the default zoom level, and all attempted zoom changes will be ignored.

Browser compatibility

EdgeFirefoxChromeOpera
Basic support?45.0Yes33
Firefox
Basic supportNo

Acknowledgements

This API is based on Chromium's chrome.tabs API. This documentation is derived from tabs.json in the Chromium code.

Document Tags and Contributors

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