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

Migrate to manifest v3 #868

Open
jamesmortensen opened this issue Sep 20, 2022 · 2 comments
Open

Migrate to manifest v3 #868

jamesmortensen opened this issue Sep 20, 2022 · 2 comments

Comments

@jamesmortensen
Copy link

jamesmortensen commented Sep 20, 2022

Thank you for making this extension. It's one of my favorites, and I've been using it for many years.

Google is soon going to pull support for manifest v2 extensions in 2023. In January 2023, the only updates the Chrome Web Store will accept is for migrating extensions to manifest v3.

My suggestion would be to first experiment with injecting and running JavaScript on pages, since this is core to the extension's functionality and since this JavaScript is user-supplied and not part of content scripts or extension files. Manifest v3 does a lot to restrict what extensions can do with JavaScript that is not part of the actual extension. If this works without issues, then I think the rest of the work would be relatively straightforward, such as converting the non-persistent background page to a service worker and adjust manifest permissions to the new platform.

https://developer.chrome.com/docs/extensions/mv3/intro/mv3-migration/

@CypherVault
Copy link

Thank you for making this extension. It's one of my favorites, and I've been using it for many years.

Google is soon going to pull support for manifest v2 extensions in 2023. In January 2023, the only updates the Chrome Web Store will accept is for migrating extensions to manifest v3.

My suggestion would be to first experiment with injecting and running JavaScript on pages, since this is core to the extension's functionality and since this JavaScript is user-supplied and not part of content scripts or extension files. Manifest v3 does a lot to restrict what extensions can do with JavaScript that is not part of the actual extension. If this works without issues, then I think the rest of the work would be relatively straightforward, such as converting the non-persistent background page to a service worker and adjust manifest permissions to the new platform.

https://developer.chrome.com/docs/extensions/mv3/intro/mv3-migration/

Seconded. Would just that really update this for manifest v3?

@jamesmortensen
Copy link
Author

@CypherVault The biggest question mark is the restriction on executing arbitrary JavaScript that is not part of the extension. Since that is the purpose, if we can't do that anymore, then nothing else matters.

You can read more about the "scripting" permission here: https://developer.chrome.com/blog/crx-scripting-api/

It looks to me like it might not be possible, but I hope someone else can read this and possibly see something I missed. Extensions like this are awesome.

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

2 participants