π¬ 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 { logger } from '@mimik/core/logger';
import { hasOffscreenDocument } from './has-offscreen-document';
import { offscreenApi } from './offscreen-api';
export async function closeOffscreenDocument(): Promise<void> {
const api = offscreenApi();
if (!api) return;
if (!(await hasOffscreenDocument())) return;
try {
await api.closeDocument();
} catch (error) {
logger.error('voice: failed to close the offscreen document', error);
}
}