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
[Feature] Manifest V3 for Chrome #1934
Comments
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
The userScripts API is ready for testing in Canary so I'll start migrating. It should improve/simplify performance for many scripts, but the API has a few nasty limitations such as the lack of |
@tophf what's the latest on this? Is V3 workable? It looks like they have announced June 24 for V2 deprecation https://developer.chrome.com/docs/extensions/develop/migrate/mv2-deprecation-timeline |
Nothing's changed, it's just as bad. We'll use the new API eventually though. I'm also waiting for them to remove the highly problematic requirement to enable developer mode in chrome://extensions page for every user of the extension. As long as it's present I'm reluctant to work on the new API and I'm even prepared to use the ExtensionManifestV2Availability policy locally myself and promote it until Chrome implements a proper solution. |
I believe that Manifest v3 is possible. There are userscript managers for Safari that use MV3. I'm certain there will be a sacrifice in the power of userscripts, though. |
This seems to be one path to take
https://developer.chrome.com/docs/extensions/reference/api/userScripts
TamperMonkey is also still on V2. I saw a discussion here:
Tampermonkey/tampermonkey#644
…On Thu, Apr 4, 2024 at 5:31 AM Arjun P ***@***.***> wrote:
I believe that Manifest v3 is possible. There are userscript managers for
Safari that use MV3. I'm certain there will be a sacrifice in the power of
userscripts, though.
—
Reply to this email directly, view it on GitHub
<#1934 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABVCMBRFMJG3BROZQNAIYZ3Y3UMX5AVCNFSM6AAAAAA57THEZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZWGY3TGMRUG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@tophf MV2 will become disabled in pre-stable versions of Chrome (Dev, Canary, Beta) in June 2024. In Chromium 127 MV2 will be disabled. Current version is 124. 127 will come in 3 September 2024, so there's 4 months left to transition. This thread has a lot of info (which as I just checked, you have contributed to). Additionally Tampermonkey Beta has switched to MV3. |
I'm not sure we should update our stable extension because MV3 breaks some things and there's no good substitute yet, we should probably suggest the users to enable the policy to prolong ManifestV2 as shown here for Windows, we should probably describe examples for all platforms somewhere. As for beta, I don't know. Maybe. I was planning to do it anyway this month. |
@tophf Why not have one extension that is MV3 and one that is MV2, like uBlock Origin & uBlock Origin Lite? How much functionality is lost in MV3? |
I've listed some issues I remembered in Tampermonkey thread. |
Based on TM MV3 Beta, even the |
I have seen the frequent updates for VM. I don't think the minor updates in the current VM 2.18.x is necessary. They are just minor UI issues. It should become a stable version. |
The problem with GM_getValue is different and it doesn't affect everyone. There are other problems I've listed. |
Motivation
Chrome has deprecated support for Manifest V2. I'm in a corporate environment so we've been able to use it this year but that ends in 2023. When Chrome drops Manifest V2 support Violentmonkey won't work anymore. Side note, MS Edge won't run Manifest V2 extensions anymore starting January, 2024.
Proposed Solution
Modify the project to use a V3 manifest, completely replacing V2.
https://developer.chrome.com/docs/extensions/migrating/
https://extensionworkshop.com/documentation/develop/manifest-v3-migration-guide/
https://blogs.windows.com/msedgedev/2022/12/05/manifest-v3-and-microsoft-edge-add-ons/
Use Cases
When a browser does not support Manifest V2, Violentmonkey can still be installed and used.
The text was updated successfully, but these errors were encountered: