Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature : I'm porting the flamingo extension to Firefox #5

Open
nflatrea opened this issue Jul 11, 2023 · 2 comments
Open

Feature : I'm porting the flamingo extension to Firefox #5

nflatrea opened this issue Jul 11, 2023 · 2 comments

Comments

@nflatrea
Copy link

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

@t4t5
Copy link
Owner

t4t5 commented Oct 14, 2023

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!

@nflatrea
Copy link
Author

nflatrea commented Oct 15, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants