browser.management.onInstalled.addListener((info) => {
console.log(`${info.name} was installed`);
});management.onInstalled / notebook
management.onInstalled
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.