Open OnlyNandan opened 1 year ago
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.
Oh noted. I tried the 2.1.0 release and it have me the same "background.service_worker is currently disabled" error
This sounds like a manifest v2/v3 issue. Are you aware of #38?
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
other errors can be resolved with the solutions present in #103
So what is your error currently?
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.
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).
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.
Hi @OnlyNandan, did you manage to make it work?
Hey, Nope no luck as of now. only got the older versions running.
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?
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
@OnlyNandan is there something they haven't implemented yet, or something I'm missing, since according to this they already have it available?
Installed v2.0.2. had to change manifest.txt as it gave me a /background/service_worker" is not supported error. so i changed it to
}, "background": { "scripts": ["background.js"] },
the add on was uploaded properly. but when i open whatsapp i get nothing in that extension