Giter Club home page Giter Club logo

Comments (14)

OnlyNandan avatar OnlyNandan commented on June 19, 2024 2

Hey kamzone,
Thanks for the update ill try this out if i am able to get it to work ill update. i can get it to work please do the same.

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on June 19, 2024

Hi,
I never designed this extension to work for Firefox, but first please try the 2.1.0 release I just published.
Also look for JS errors.

from whatsapp-web-incognito.

OnlyNandan avatar OnlyNandan commented on June 19, 2024

Oh noted. I tried the 2.1.0 release and it have me the same "background.service_worker is currently disabled" error

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on June 19, 2024

This sounds like a manifest v2/v3 issue. Are you aware of #38?

from whatsapp-web-incognito.

OnlyNandan avatar OnlyNandan commented on June 19, 2024

yep i tried #38 and i was able to intstall vs 2.0.1 on firefox which worked flawlessly .

v 2.0.1
},
"background": {
"scripts": ["browser-polyfill.js", "background.js"]
},

and v 2.0.2

"background":
{
"service_worker": "background.js"
},
"host_permissions": ["https://web.whatsapp.com/*"],
"content_scripts":
[
{

there is a reference to service worker in v 2.0.2 and v 2.1.0

image

other errors can be resolved with the solutions present in #103

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on June 19, 2024

So what is your error currently?

from whatsapp-web-incognito.

OnlyNandan avatar OnlyNandan commented on June 19, 2024

Main issue being that if i add v 2.0.1 to the ff then it get added and works without issue since it doesnt have background service worker. whereas the counterpart v 2.0.2 or 2.1.0 has background service worker which throws an error when added to ff. as ff doesnt support background service worker. and i was wondering if anyhow it would be possible to run the v2.0.2 upwards on ff.

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on June 19, 2024

The service worker is a manifest v3 thing I believe, so this makes sense. You could port it back to manifest v2 and convert the service worker to a background page just like you did. You could also figure out if Firefox supports manifest v3 (last time I checked it didn't).

from whatsapp-web-incognito.

kamzone avatar kamzone commented on June 19, 2024

Hi.
You can try fixing it to work with firefox version of manifest v3 using this guide. Firefox made some changes to chrome implementation.
It worked for different extensions. I'll try doing it, and if it will work I'll post an update.

from whatsapp-web-incognito.

terrasaw avatar terrasaw commented on June 19, 2024

Hi @OnlyNandan, did you manage to make it work?

from whatsapp-web-incognito.

OnlyNandan avatar OnlyNandan commented on June 19, 2024

Hey,
Nope no luck as of now. only got the older versions running.

from whatsapp-web-incognito.

bayazidbh avatar bayazidbh commented on June 19, 2024

For context - what does Firefox do differently or otherwise still not support that's making this remain a blocker for newer versions of the extension?

And what about version 2.0.1? Is that fine?

from whatsapp-web-incognito.

OnlyNandan avatar OnlyNandan commented on June 19, 2024

For context - what does Firefox do differently or otherwise still not support that's making this remain a blocker for newer versions of the extension?

And what about version 2.0.1? Is that fine?

Its with regards to firefox not supporting manifest v3 yet

from whatsapp-web-incognito.

bayazidbh avatar bayazidbh commented on June 19, 2024

@OnlyNandan is there something they haven't implemented yet, or something I'm missing, since according to this they already have it available?

from whatsapp-web-incognito.

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.