function handleNavigated(url) {
console.log(url);
}
browser.devtools.network.onNavigated.addListener(handleNavigated);devtools.network.onNavigated / notebook
devtools.network.onNavigated
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.