Browser Extension Quickstart
The browser extension captures papers from publisher sites and stores them in your library through the same API as the desktop app.
Install
- Chrome / Edge: Chrome Web Store listing (coming with first public release).
- Firefox: addons.mozilla.org listing (same).
- Sideload (dev): clone the repo, run
pnpm --filter @admarginem/extension build, then loadapps/extension/distas an unpacked extension.
Sign in
- Click the Ad Marginem icon in the toolbar.
- Click Sign in via api.admarginem.ca — a popup opens to the OAuth flow.
- Sign in with the same provider you used on desktop. The session cookie scoped to the API domain lights up both the desktop better-auth client and the extension’s
fetch()calls — no token sharing needed.
If you’d rather skip sign-in for now, the extension queues captures locally (browser.storage.local) and uploads them once you sign in. The Options page surfaces the queue length.
Save your first paper
- Click the icon while you’re on an arxiv.org / doi.org / publisher page → the popup shows the page metadata + a Save to Library button.
- Right-click → Save to Ad Marginem on any link or selection.
- Save attached PDF appears when the page exposes a
citation_pdf_urlmeta tag or a same-origin.pdflink (P12.4).
Supported publishers
21 sites at launch: arXiv, bioRxiv, medRxiv, PubMed, doi.org, Semantic Scholar, ScienceDirect, Springer, Nature, Wiley, IEEE, ACM, JSTOR, SSRN, Taylor & Francis, SAGE, Oxford Academic, MIT Press, ASCE, AGU, plus a generic citation_*-tag extractor that covers most other academic publishers.
Options
- Default citation style for inline citations.
- Default save behaviour: try-CrossRef-DOI vs page-info-only vs ask-each-time.
- Per-site enable/disable toggle in the Supported Sites list.
- API server URL (override for self-hosting or staging).