-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Support non-standard cross-browser manifest fields #122
Comments
Lack of this feature prevent us from having templates using service workers from being compatible with Firefox in production mode. |
joeframbach
added a commit
to joeframbach/extension.js
that referenced
this issue
Jul 10, 2024
joeframbach
added a commit
to joeframbach/extension.js
that referenced
this issue
Jul 10, 2024
cezaraugusto
pushed a commit
that referenced
this issue
Jul 10, 2024
closed by #128 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are cases when a feature is desired in a browser but not in the other browser, say using
background.service_worker
for Chrome andbackground.scripts
for Firefox.The easier route is having multiple manifest.json files specific for browsers (like manifest.edge.json). I'd like to avoid this for now.
The solution that comes to mind is having some sort of prefix to manifest fields, which would be handled by the CompatPlugin. Like:
Chrome would understand the manifest.json as:
Firefox:
The text was updated successfully, but these errors were encountered: