Giter Site home page Giter Site logo

Firefox support about habitica-chrome HOT 6 OPEN

Mikaela avatar Mikaela commented on June 9, 2024
Firefox support

from habitica-chrome.

Comments (6)

Mikaela avatar Mikaela commented on June 9, 2024

I forgot to say that I found https://github.com/lexa/habitrpg-mozilla but it appears to be unofficial and the link to Firefox extensions is 404 errors, so I imagine it wouldn't run on Firefox Quantum (57) anyway.

from habitica-chrome.

paglias avatar paglias commented on June 9, 2024

Right now we're not actively working on the extension but I'll be happy to merge any proposed PR

from habitica-chrome.

IliaMManolov avatar IliaMManolov commented on June 9, 2024

A possible workaround is this extension: https://addons.mozilla.org/en-US/firefox/addon/chrome-store-foxified/

I tried it out but it gives me an error that my api key/uuid are wrong despite the fact that they are correct. Otherwise nothing UI-based is broken so it seems that there's something small preventing the extension from working properly.

from habitica-chrome.

IliaMManolov avatar IliaMManolov commented on June 9, 2024

I did some debugging and the issue seems to be from this line. Looks like the standard is to use browser.runtime instead of chrome.extension as specified in the Firefox docs here.

I switched all the chrome objects with browser and replaced .extension with .runtime and the first time you open the extension menu everything works correctly but after closing it and reopening it the extension gives me the same "invalid api key/uuid" error. Opening up the debugger shows me the following errors. Full error log here.

I think the issue arises from the second and third errors. It seems that it is complaining about this line on the repo. I think that listeners[i] is dead for some reason which is why it can't listen for new data. That means that the object dies between the first and second listen.

I'll make a fork and I'll look into the issue later. Hopefully we can fix this so that we can get this to work on Opera and Edge as well. My knowledge of web languages is very limited so I'd appreciate it if someone could read and understand my error messages.

from habitica-chrome.

Himbiss avatar Himbiss commented on June 9, 2024

Hey! Is this repo still actively maintained? Lots of the stuff around here seems to be pretty old. I'm asking because I was tinkering with the chrome extension and made it partly work for firefox. Are you interested in a pull request with my code changes?

from habitica-chrome.

paglias avatar paglias commented on June 9, 2024

@Himbiss hi, right now we're not actively maintaining the repo but if we're open to contributors fixing bugs and in that case we'll be happy to publish the fixed version to Chrome and Firefox. But right now it's quite broken so before we can publish it to firefox we'd need the most serious bugs to be fixed

from habitica-chrome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.