MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / getAllTabs

Function getAllTabs

scripts/helpers/utils.js:249–255  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

web_timer.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected