A simple cross-browser extension template
The Cross Platform Browser Extension template repository is a React + TailwindCSS template bundled with Vite. It provides a framework for building browser extensions that can run on multiple platforms. The extensions modify the website https://blank.org when enabled, and also include a “Click me!” button that sends a message to the background script.
npm run build to build the extension for Firefox.dist/ directory.about:debugging#/runtime/this-firefox or navigate to Firefox > Preferences > Extensions & Themes > Debug Add-ons > Load Temporary Add-on....dist/ directory and open the manifest.json file.npm run build:chrome to build the extension for Google Chrome.dist/ directory.chrome://extensions/ and click on “Load unpacked”.dist/ directory and select the manifest.json file.The Cross Platform Browser Extension template repository provides a convenient starting point for building browser extensions that are compatible with multiple platforms. It integrates React and TailwindCSS for a modern and customizable user interface. The extensions modify a specific website and also include additional functionality such as sending messages to the background script. Detailed installation instructions are provided for Firefox and Google Chrome.