function onGot(settings) {
console.log(settings);
}
function onError(error) {
console.log(`Error: ${error}`);
}
let gettingZoomSettings = browser.tabs.getZoomSettings();
gettingZoomSettings.then(onGot, onError);tabs.getZoomSettings() / notebook
tabs.getZoomSettings()
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.