Hello! I fiddled with the published Chrome .crx and got it working very easily with Firefox - I only had to make two very minor changes to the code, and tweak the manifest very slightly. After that, everything worked immediately.
Given that it all seems to work with a couple of trivial changes, I’d like to formally request a release of the extension for us Firefox users! I would find it very useful rather than having to maintain my own hacky fork that doesn’t get updates and so on.
Is this something that is already on the roadmap?
Thanks much, and thanks for Readlang!
ETA: I tried just using the bookmarklet, but due to CSP issues, it failed almost everywhere I tried, so I gave up on it in favor of my experiments with getting the actual extension to work on Firefox.
Thanks for trying this and for letting me know. I wasn’t aware that it would be so easy to port it. I tried creating a Firefox add-on back in 2013 and it used a completely different API to Chrome extensions, and Mozilla ended up rejecting it from their add-on repo because it ran code fetched from my server.
Right now Firefox only accounts for 3% of visitors to the webapp, so although it would be cool, creating a Firefox extension isn’t on my roadmap at the moment. This could change in future though.
Thanks much for the response. Yeah, I was also surprised by how easy it was to get it working on Firefox. It is neat that the APIs are quasi-identical nowadays.
If it changes your opinion at all: I’d probably be happy to volunteer to maintain/comaintain the firefox extension (and submit PRs to you, to keep it working in the odd event it breaks). I’ve never submitted an extension to Mozilla before, but I’d be willing to figure it out, and then just update it when you cut releases of the Chrome extension. That way, at least an extension would exist for Firefox even if it lags behind slightly/is considered best-effort or unofficial.
No worries if not, just throwing the offer out there. For now I’ll keep using my hacky version and hoping it keeps working, because I do find it super useful.