Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Firefox extension #1

Closed
tiagorangel2011 opened this issue Mar 29, 2024 · 2 comments
Closed

[Suggestion] Firefox extension #1

tiagorangel2011 opened this issue Mar 29, 2024 · 2 comments

Comments

@tiagorangel2011
Copy link

tiagorangel2011 commented Mar 29, 2024

I would love to try this out, but I use Firefox and it says it's corrupted when uploading the zip (zip with contents, not zip with folder with contents) or when uploading the manifest on the debug page.

thanks btw :)

@Haizlbliek
Copy link
Owner

I would love to add Firefox support, but after a lot of testing, I couldn't figure out how to do what I am wanting to do.

The main issue with it is that Firefox's extension API doesn't have a specific option that is needed. See ExecutionWorld.

If someone (you?) happens to find a way to do it, I will definitely implement it.

Sorry for the inconvenience.

@Haizlbliek Haizlbliek closed this as not planned Won't fix, can't repro, duplicate, stale Apr 6, 2024
@khalby786
Copy link

I don't think that's the issue because according to the compatibility table, ExecutionWorld seems to be supported.

Another reason is that I just got it working on Firefox, although I'm not sure to what extent.

firefox_gHeSH8sdn8

how to fix

In your manifest.json,

{
  ...
  "background": {
    "service_worker": "script.js",
+   "scripts": ["script.js"]
  }
}

why

Apparently, its a manifest v3 feature that Firefox doesn't support, and so you have to give candy to both Firefox and v3 (Chrome) so that they're both happy.

https://stackoverflow.com/a/78088358/11913330

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants