()
| 247 | }; |
| 248 | |
| 249 | export const getAllTabs = async () => { |
| 250 | let tabs = await chrome.tabs.query({ |
| 251 | // url: ["https://*/*", "http://*/*"], |
| 252 | // windowType: "normal", |
| 253 | }); |
| 254 | return tabs; |
| 255 | }; |
| 256 | |
| 257 | export function getPopupURL() { |
| 258 | return chrome?.runtime?.getURL?.("/popup/popup.html"); |