Something went wrong. Try again.
(READ ONLY) Margin is an open annotation layer for the internet. Powered by the AT Protocol.
forked from margin.at/margin
Something went wrong. Try again.
123456789101112131415import { defineContentScript } from 'wxt/sandbox';import { initContentScript } from '@/utils/overlay';
export default defineContentScript({ matches: ['<all_urls>'], runAt: 'document_idle', cssInjectionMode: 'ui',
async main(ctx) { if (window.location.href.includes('/pdfjs/web/viewer.html')) return;
await initContentScript(ctx); },});