3 min readv1.0.68
Manifest V3 Browser Extensions
Architecture of the Chrome, Firefox, and Safari extensions, token authentication, and clipping pipelines.
Manifest V3 Architecture#
The LaterBox browser extension is built with TypeScript and Vite, complying with the latest Manifest V3 standards:
- Background Service Worker: Handles token verification, context menu creation, keyboard shortcut listeners, and background network requests to the Supabase ingestion endpoint.
- Popup UI: Lightweight React popup providing 1-click save, collection picker, tag selector, and immediate confirmation feedback.
- Sidepanel Mode: Allows reading saved articles and taking notes in a side-by-side browser panel while browsing the web.
Token Key Authentication#
Users can pair their browser extension to their LaterBox account without entering passwords in the extension:
- Open [laterbox.dev/extension/connect](https://laterbox.dev/extension/connect).
- Sign in to your LaterBox account.
- Click Generate Connection Key.
- The extension automatically exchanges the temporary handshake token for an authenticated API session.
Building & Packaging#
To compile and package the extensions locally:
bash
cd extension
npm install
# Build for all targets (Chromium, Firefox, Safari)
npm run packageGenerated packages in extension/dist/:
laterbox-chrome-extension.ziplaterbox-firefox-extension.ziplaterbox-safari-extension.zip
Questions or suggestions for this documentation?