Replies: 1 comment
-
|
yep you can absolutely do this with Extension.js, and you can do it step by step (no need to rewrite everything at once) if your extension already runs in Chrome (MV3 + service worker +
for manifest updates,best approach is to use browser-scoped manifest fields instead of hand-maintaining multiple full manifests so you can keep Chromium settings under for browser-specific APIs, you’ll still need small compatibility fixes, but you don’t need to fork the whole codebase. what usually works best:
for a multi-browser testing workflow, before publishing, run each browser directly in dev mode:
then produce all bundles with:
you’ll get separate outputs (ex: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I already have an extension that works only in Chrome.
It uses manifest v3, a background service worker, and some Chrome APIs.
I want to make it work on Firefox and Edge too, but every browser seems to need small changes.
For example, Firefox does not support some
chrome.*APIs, and Edge has its own store rules.Can I use Extension.js to make my code run on all browsers without rewriting everything?
What is the best way to start? Should I move files into a new Extension.js project or can I migrate step by step?
If anyone already did this, please share what worked for you.
I’m looking for tips about:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions