Skip to content

Commit 9ef9cf2

Browse files
committed
👽️ Api Listener
1 parent 6a5a33e commit 9ef9cf2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

js/background.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,8 @@ async function getFromStorage() {
2121
webviewUrl: sidebaritems.sidebaritems[i].webviewUrl,
2222
});
2323
}
24-
}
24+
}
25+
26+
browser.sidebars.onRemove.addListener((itemId) => {
27+
console.log(itemId);
28+
})

0 commit comments

Comments
 (0)