Skip to content

Conversation

@mirdaki
Copy link
Contributor

@mirdaki mirdaki commented Oct 14, 2022

Addresses #16

Firefox only has preview support manifest v3 right now. To run this, follow the preview instructions

Firefox supports most the chrome.* API, so this adds checks for unsupported items

However, Firefox does not currently support service workers nor Chromium support background pages. See this for details

This means the manifest file will be incompatible with at least one browser ecosystem. Since stable Firefox doesn't support manifest v3 extensions anyway, I've just left that commented out. The other options end up with duplicated code

Happy to try another approach and will file an issue to update this when stable Firefox supports manifest v3

Addressed microsoft#16

Firefox only has preview support manifest v3 right now. To run this,
follow the preview [instructions](https://extensionworkshop.com/documentation/develop/manifest-v3-migration-guide/)

Firefox supports most the `chrome.*` API, so this adds checks for
unsupported items

However, Firefox does not currently support service workers nor Chromium
support background pages. See [this for details](https://blog.mozilla.org/addons/2022/05/18/manifest-v3-in-firefox-recap-next-steps/)

This means the manifest file will be
incompatible with at least one browser ecosystem. Since stable
Firefox doesn't support manifest v3 extensions anyway, I've just
left that commented out. The other options end up with duplicated code

Happy to try another approach and will file an issue to update this
when stable Firefox supports manifest v3
The code is still shared between Chrome and Firefox
Just the manifest differ
@mirdaki
Copy link
Contributor Author

mirdaki commented Nov 4, 2022

@joyceerhl the last change should make it good to go

@mirdaki
Copy link
Contributor Author

mirdaki commented Jul 26, 2023

Firefox now has GA support for manifest V3 extensions, so this should be revisited

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants