background.js (103B)
1 browser.tabs.query({ url: "*://*/*?tabToClose" }).then(([tab]) => { 2 browser.tabs.remove(tab.id); 3 });