Code Monkey home page Code Monkey logo

Comments (11)

SQueen2k1 avatar SQueen2k1 commented on September 16, 2024 1

Okay, I pushed some changes which should help Firefox. You still need to remember to give it permission to run on twitter via the "Manage extensions" page. Let me know how it goes!

Can confirm, both automated database download and reporting works now

from soupcan.

bethylamine avatar bethylamine commented on September 16, 2024

Seems like Chrome isn't happy with background.scripts and Firefox doesn't support background.service_worker and wants background.scripts. (source)

I may try to create a manifest-v2 version in the mean time for Firefox users, until v3 is supported. Google doesn't even accept new extensions using manifest v2 any more.

from soupcan.

bethylamine avatar bethylamine commented on September 16, 2024

Could you try changing service_worker: "background.js" to "scripts": ["background.js"] and see if that works?

from soupcan.

SQueen2k1 avatar SQueen2k1 commented on September 16, 2024

Yea that works, then you just need to right click the extension on firefox (while twitter is open) to allow it to always run in the case of those who want that

from soupcan.

SQueen2k1 avatar SQueen2k1 commented on September 16, 2024

In the new version the option to manually update the database is non existent and it doesn't update automatically either, making the extension not show anything (at least on firefox) - https://i.imgur.com/7BUuDX0.png

from soupcan.

SQueen2k1 avatar SQueen2k1 commented on September 16, 2024

When submitting reports this error happens:

Failed to submit report: TypeError: NetworkError when attempting to fetch resource.

from soupcan.

bethylamine avatar bethylamine commented on September 16, 2024

Got it! Thanks for the help. It looks like it might be CORS related? Although it should be sending back the right CORS headers, it works in Chrome. Hm. I also notice right-clicking on the background of the page doesn't show the other context menu items, so I may have to also add them to the plugin button

from soupcan.

bethylamine avatar bethylamine commented on September 16, 2024

May be like this https://stackoverflow.com/a/49098515

from soupcan.

SQueen2k1 avatar SQueen2k1 commented on September 16, 2024

May be like this https://stackoverflow.com/a/49098515

Yes, seems the reports have to be fixed not through the extension but in the backend, give it some sort of CORS handling, chrome doesn't care about it but firefox won't work without it.

from soupcan.

bethylamine avatar bethylamine commented on September 16, 2024

Okay, I pushed some changes which should help Firefox. You still need to remember to give it permission to run on twitter via the "Manage extensions" page. Let me know how it goes!

from soupcan.

bethylamine avatar bethylamine commented on September 16, 2024

Firefox compatibility seems to be stable for now. Closing.

from soupcan.

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.