π¬ A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots π
TypeScript browser-extensionchrome-extensiondocumentationfirefox-extensionguide-generatorlocal-firstmanifest-v3privacy-firstproductivityreactscreenshotstep-by-step-guidetutorialtypescriptworkflowwxt
import type { PublicPath } from 'wxt/browser';
import { browser } from '#imports';
type ScriptPath = Extract<PublicPath, `${string}.js`>;
export function executeScript(tabId: number, files: ScriptPath[], allFrames = true): Promise<unknown> {
return browser.scripting.executeScript({
target: { tabId, allFrames },
files,
});
}