flamingo icon indicating copy to clipboard operation
flamingo copied to clipboard

Feature : I'm porting the flamingo extension to `Firefox`

Open nflatrea opened this issue 2 years ago • 4 comments

Hey @t4t5 I really do love Flamingo extention's look !

Unfortunatelly, the extention itself isn't available in Firefox. So I decided to port the built version to Firefox. It needs a little tweaking in the manifest file but because you used Web Extensions instead of classic Chrome framework I t was really easy to migrate

You'll find the built version that you can put on Firefox in Debug Mode to test. The package isn't signed by Firefox so you won't be able to use it outside of Developpement mode. I planned to upload it myself on Firefox for now. For now, the addon can't be published, it needs approval but you'll be able to get it here : https://addons.mozilla.org/en-US/firefox/addon/flamingo-nostr-extension/

addon.zip

nflatrea avatar Jul 11 '23 13:07 nflatrea

Hey! Sorry for getting back to late here! Is there any way you could open a PR with your changes to make the extension work in Firefox? Would be lovely to add support for it in the official package!

t4t5 avatar Oct 14 '23 13:10 t4t5

Nothing fancy, everything that uses your extension is available and implemented in many browsers, but while the majority of the manifest was in fact compatible, we have some quirks related to chrome. I'll push a PR adding Firefox's manifest

This is a recurrent issue on proting Chrome extensions to Firefox.

https://stackoverflow.com/questions/75043889/manifest-v3-background-scripts-service-worker-on-firefox

I don't have a lot of time to dedicate, but if you seek to develop on both platform, Vite has a great tutorial on developping a build arch for both, that you can specify as an env var

https://vite-plugin-web-extension.aklinker1.io/guide/supporting-multiple-browsers.html

nflatrea avatar Oct 15 '23 15:10 nflatrea