document.requestStorageAccess({ estimate: true }).then(
async (handle) => {
console.log("estimate access granted");
await handle.estimate();
},
() => {
console.log("estimate access denied");
},
);StorageAccessHandle: estimate() method / notebook
StorageAccessHandle: estimate() method
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.