function tabGroupUpdated(group) {
console.log(`Tab group with ID ${group.id} was updated.`, group);
}
browser.tabGroups.onUpdated.addListener(tabGroupUpdated);tabGroups.onUpdated / notebook
tabGroups.onUpdated
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.