function onGoForward() {
console.log("Gone forward");
}
function onError(error) {
console.log(`Error: ${error}`);
}
let goingForward = browser.tabs.goForward();
goingForward.then(onGoForward, onError);tabs.goForward() / notebook
tabs.goForward()
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.