let tabs = await browser.tabs.query({
active: true,
lastFocusedWindow: true,
});
await browser.tabs.ungroup([tabs[0].id]);
console.log("Current tab is ungrouped");tabs.ungroup() / notebook
tabs.ungroup()
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.