function onSet() {
console.log(`Set zoom factor`);
}
function onError(error) {
console.log(`Error: ${error}`);
}
let setting = browser.tabs.setZoomSettings({ mode: "disabled" });
setting.then(onSet, onError);tabs.setZoomSettings() / notebook
tabs.setZoomSettings()
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.