blob: e512b6f7c630315b77cebdf7a266dc4184af8626 (
plain) (
tree)
|
|
const openNewTab = (url) => {
return browser.tabs.create({ url: url });
};
const openToTab = (url, tab) => {
return browser.tabs.update(tab.id, { url: url });
};
export { openToTab, openNewTab };
|