How can I write a Chrome and Firefox Manifest v3 extension that shares code when their manifests are mutually incompatible?
I’m currently working on a browser extension for both Chrome and Firefox that shares much of the same code.
Implement/Update Firefox Addon for Chrome
I have a fully-developed Firefox add-on using MV2 and has js injection which I would like to make compatible for Chrome, either by re-implementing the same functionality or using existing solutions if there exist any.