function gotAll(infoArray) {
for (const info of infoArray) {
if (info.type === "extension") {
console.log(info.name);
}
}
}
let gettingAll = browser.management.getAll();
gettingAll.then(gotAll);management.getAll() / notebook
management.getAll()
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.