Available for Firefox and Chrome
A minimalist browser extension to send the page you are currently viewing to your mobile device.
The extension manifest is defined in src/manifest.ts
and used by @samrum/vite-plugin-web-extension
in the vite config.
Popup entry point is in the src/entries/popup
directory.
To switch between Manifest V2 and Manifest V3 builds, use the MANIFEST_VERSION environment variable defined in .env
HMR during development in Manifest V3 requires Chromium version >= 110.0.5480.0.
Refer to @samrum/vite-plugin-web-extension for more usage notes.
See Vite Configuration Reference.
This project uses Yarn Zero-Install so no dependency installation is required.
Hot Module Reloading is used to load changes inline without requiring extension rebuilds and extension/page reloads
yarn dev
Rebuilds extension on file changes. Requires a reload of the extension (and page reload if using content scripts)
yarn watch
Minifies and optimizes extension build
yarn build
Loads the contents of the dist directory into the specified browser
yarn serve:chromium
yarn serve:firefox
yarn package
MIT
Icons by Freepiks from www.flaticon.com