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

Port browser extension to manifest v3 #1090

Open
snarfed opened this issue Dec 1, 2021 · 9 comments
Open

Port browser extension to manifest v3 #1090

snarfed opened this issue Dec 1, 2021 · 9 comments

Comments

@snarfed
Copy link
Owner

snarfed commented Dec 1, 2021

The Chrome Web Store is transitioning from manifest v2, which the Bridgy browser extension is currently on, to manifest v3. Their timeline says they'll stop accepting new extensions with v2 in Jan 2022, and Chrome itself will stop running v2 extensions in Jan 2023. Guess we'll have to migrate.

...except Firefox evidently doesn't support v3 yet?! Um, ...?

@snarfed
Copy link
Owner Author

snarfed commented Jul 1, 2022

Evidently manifest v3 has been a bunch of drama between the different browser vendors. TLDR: Chrome and Edge are diverging significantly from Firefox in MV3 so far in their supported APIs, and the situation is still in flux, but Chrome is turning off MV2 support in Jan 2023.

Sadly, two of the biggest sources of controversy, WebRequest and background pages, are key APIs that our browser extension depends on. Chrome is replacing them with declarativeNetRequest and Service Workers (migration guide), respectively. Firefox's declarativeNetRequest support is evidently currently in "Developer Preview," and they say they'll ship Service Worker support, but haven't yet.

Here's Firefox's MV3 migration guide.

@snarfed
Copy link
Owner Author

snarfed commented Jul 1, 2022

cc @tantek. Standards drama! 😢🍿:hugstandards: (or whatever the hugops equivalent is)

snarfed added a commit to snarfed/granary that referenced this issue Jul 4, 2022
@snarfed
Copy link
Owner Author

snarfed commented Jul 4, 2022

Oops, attached the wrong commit ^, that one's unrelated.

@snarfed
Copy link
Owner Author

snarfed commented Sep 10, 2022

@snarfed
Copy link
Owner Author

snarfed commented Sep 14, 2022

@snarfed
Copy link
Owner Author

snarfed commented Sep 14, 2022

@snarfed
Copy link
Owner Author

snarfed commented Sep 17, 2022

@snarfed
Copy link
Owner Author

snarfed commented Sep 18, 2022

d85f7ac, 755bf41

@snarfed
Copy link
Owner Author

snarfed commented Sep 20, 2022

Status: Chrome is now migrated to manifest v3, Firefox is still on v2. Same codebase, different manifest files.

@snarfed snarfed changed the title Port browser extension to manifest v3? Port browser extension to manifest v3 Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant