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

feat: Firefox support #10

Open
sammcj opened this issue Sep 14, 2022 · 6 comments
Open

feat: Firefox support #10

sammcj opened this issue Sep 14, 2022 · 6 comments

Comments

@sammcj
Copy link

sammcj commented Sep 14, 2022

It would be awesome if this extension had Firefox support - it's really great!

@giosilvi
Copy link
Owner

Thanks for the comment! I have to admit this is my first ever chrome extension, and I don`t know how it works for Firefox. As soon as it reaches a mature version (I think a few months more of experimenting) I will look into porting it to Firefox too.

@Stvad
Copy link

Stvad commented Nov 29, 2022

@giosilvi they have a compatible API, so usually most of the porting consists substituting chrome.* calls to browser.* calls (with https://github.com/mozilla/webextension-polyfill installed) to get a cross-browser support up and running. there are a bunch of cross-browser extension templates out there that can serve as a good example)

@giosilvi
Copy link
Owner

@Stvad thanks for the info! I'll take a look at it and make the implementation in the next month or so...

@giosilvi
Copy link
Owner

Hi @Stvad and @sammcj, I published the extension on Firefox as well! There was some modification involved, mostly on the manifest.json. At the moment, there is a bit of an unusual behavior when first loading a webpage, where one may need to reload the page to make the extension work. I'll try to fix that in the next days, but for the rest, everything seems to work just fine. You can find it here: https://addons.mozilla.org/en-GB/firefox/addon/gpt-prompter/

@sammcj
Copy link
Author

sammcj commented Jan 24, 2023

Oh wow that's fantastic news! Thank you so much, I'll test it out this week.

@giosilvi giosilvi reopened this Jan 24, 2023
@giosilvi
Copy link
Owner

giosilvi commented Jan 24, 2023

I reopened the issue cause I saw some strange behavior on Firefox with some elements of Outlook when the extension is enabled. Need to investigate, the same situation on Chrome show now issue. If you see the same on other website let me know. Basically if anything seems to break, and is fixed when disabling the extension.

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

3 participants