try {
await browser.scripting.unregisterContentScripts({
ids: ["a-script"],
});
} catch (err) {
console.error(`failed to unregister content scripts: ${err}`);
}scripting.unregisterContentScripts() / notebook
scripting.unregisterContentScripts()
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.