This boilerplate using Svelte provides a skeleton to start developing cross-browser web extensions.
npm i
Chrome
npm run app:chrome-dev
Edge
npm run app:edge-dev
Firefox
npm run app:firefox-dev
npm i
npm run app:chrome
Edge
npm run app:edge
Firefox
npm run app:firefox
Chrome
chrome://extensions/
dist/
in source codeCheck here for more detail: https://developer.chrome.com/extensions/getstarted
Edge
edge://extensions/
Developer mode
dist/
in source codeFirefox
about:debugging#/runtime/this-firefox
manifest.json
& click OpenCheck here for more details: https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/
Simple, just open chrome extension as a page. To do that, follow below steps:
Open extension management page
Copy extension id
chrome-extension://<extension-id>/popup.html
Web stores require you to describe what the extension is or if you collect data of users. You also need to describe why you do that.
Make sure you include this file when you publish an extension, the web store may ask you to upload it.
Note: If you don't know how to write a privacy policy file, you can look at the existing one attached on this repository.
You can add badges to your project to indicate the version or to show how many users use your extension here:
You can modify the .github/workflows
to show the CI/CD flow.
Follow me on Twitter! https://twitter.com/davidnguyen1791
Thanks!
MIT
Thanks goes to these wonderful people (emoji key):
David Nguyen 💻 📖 🎨 🤔 🚇 🚧 👀 ⚠️ |
DK 💻 🤔 🚇 🚧 👀 ⚠️ |
This project follows the all-contributors specification. Contributions of any kind welcome!