Close all Tabs and open Chrome/Newtab
First closes all other tabs. Afterwards open Chrome/Newtab (or any URL you want), and subsequently closes the last tab.
Runs in:
all framesScript:
var URL = 'chrome://newtab/';
MS.apis.builtin('close-other-tabs');
MS.apis.tabs.create({
selected: false,
url: URL
});
MS.apis.builtin('close-tab');

Comments
Post new comment