execute any javascript on any chromium tabs - cross-tab parallel execution
UNLICENSE License
execute any javascript on any chromium tabs
tabgod()
functionasync function tabgod(
tabFilterFunc: (tab: chrome.tabs.Tab, ...args: unknown[]) => boolean,
exeFunc: (...args: unknown[]) => unknown,
options?: {
tabFilterArgs?: unknown[];
exeArgs?: unknown[];
evalAdd?: string;
},
): Promise<{ tabId: number; result: unknown }[]> {
//
}
having chatgpt and pi talk to each other
https://github.com/devidw/tabgod/assets/68775926/d103bf67-5ed6-4e34-bb96-7b35d42f9d2d
searching same query on multiple search engines
tabgod()
function
tabgod(
(tab) => tab.url.includes("example.org"),
() => document.body.style.background = "pink",
);