violentmonkey icon indicating copy to clipboard operation
violentmonkey copied to clipboard

New Chrome version doesn't support it

Open WtaoZhao opened this issue 9 months ago • 43 comments

New Chrome version (133.0.6943.142) doesn't support violentmonkey anymore. Can you make it support new Chrome version?

WtaoZhao avatar Mar 03 '25 07:03 WtaoZhao

You can enable ManifestV2 manually: https://stackoverflow.com/questions/79283218

tophf avatar Mar 03 '25 07:03 tophf

Either that or Load the Extension Locally

SyndiShanX avatar Mar 04 '25 03:03 SyndiShanX

It sucks that it nuked all of my scripts though

SyndiShanX avatar Mar 04 '25 03:03 SyndiShanX

It sucks that it nuked all of my scripts though

me too. Chrome sucks

fuminchao avatar Mar 04 '25 05:03 fuminchao

If you apply the settings from the link posted by @tophf before interacting with the notification prompt, and restart Chrome, it won't affect your scripts. In short:

  1. Go to chrome://flags/
  2. Search for mv2
  3. Set to Enabled: "Allow legacy extension manifest versions"
  4. Set to Disabled: the 3 remaining ones, all named "Extension Manifest V2 Deprecation ... Stage"

dandrei avatar Mar 04 '25 06:03 dandrei

Yeah, the issue was I clicked a bookmark immediately when starting chrome and it closed the pop-up, which nuked I don't even know what extensions along with their associated settings

SyndiShanX avatar Mar 04 '25 06:03 SyndiShanX

so does this mean that Violentmonkey won't support the new version, and we are reliant until Chrome finally removes the legacy v2 manifest option?

jpuckett-di avatar Mar 04 '25 21:03 jpuckett-di

Image

In version 131.0.6778.205, this option"Allow legacy extension manifest versions" was removed

sa124a avatar Mar 07 '25 03:03 sa124a

Image Version 134.0.6998.36, Windows

pihao avatar Mar 07 '25 13:03 pihao

Can confirm quoted comment worked! Screenshot in case anyone needs it.

Image

If you apply the settings from the link posted by @tophf before interacting with the notification prompt, and restart Chrome, it won't affect your scripts. In short:

  1. Go to chrome://flags/
  2. Search for mv2
  3. Set to Enabled: "Allow legacy extension manifest versions"
  4. Set to Disabled: the 3 remaining ones, all named "Extension Manifest V2 Deprecation ... Stage"

bekkibau avatar Mar 09 '25 19:03 bekkibau

This is a temporary solution that will cut off a lot of users. The flags will be removed soon. It needs to be ported to version 3.

clusterepsilon avatar Mar 16 '25 10:03 clusterepsilon

You can enable ManifestV2 manually: https://stackoverflow.com/questions/79283218

@tophf It's not working with new chrome version 134.0.6998.45

wk722 avatar Mar 17 '25 10:03 wk722

It's working.

tophf avatar Mar 17 '25 10:03 tophf

It's working.

Image

@tophf Can not install the extension.

wk722 avatar Mar 17 '25 10:03 wk722

Ah, I see, it cannot be installed, but it's working if it was previously installed. You can install a released zip as an unpacked extension.

tophf avatar Mar 17 '25 10:03 tophf

You can edit the "Add to Chrome" button element in DevTools and remove the disabled attribute. Then you can install Violentmonkey. Tested in 134.0.6998.89.

The following one-liner can also enable the "Add to Chrome" button:

document.querySelector('button[jsaction^="click"][disabled]').disabled = false;

dandrei avatar Mar 19 '25 07:03 dandrei

It sucks that it nuked all of my scripts though

me too. Chrome sucks

ya. it's true. I can't install Violentmonkey on Google Chrome (on another laptop at home), So i use tampermonkey instead. But when I'm installed Violentmonkey on Brave Browser from Chrome Web Store without issue.

Image

And Brave Browser still committed Supporting legacy (MV2) Extensions. Ref: continue supporting some Manifest V2 extensions

Reno-Sifana avatar Mar 26 '25 14:03 Reno-Sifana

They support them for now, who knows how long they'll support the extensions out of the priority list

SyndiShanX avatar Mar 26 '25 14:03 SyndiShanX

Ah, I see, it cannot be installed, but it's working if it was previously installed. You can install a released zip as an unpacked extension.

@gera2ld is it possible to provide the crx in github release so that people can directly download crx extension file without using chrome web store?

cyfung1031 avatar Apr 06 '25 13:04 cyfung1031

It's working.

It works for now, but it's temporary. Are there any plans to update to manifest v3?

clusterepsilon avatar Apr 06 '25 22:04 clusterepsilon

It's working.

It works for now, but it's temporary. Are there any plans to update to manifest v3?

Similar issue here: https://github.com/violentmonkey/violentmonkey/issues/1934

For some reason the maintainer unpinned it and then pinned this issue instead. It seems pretty clear MV3 support isn't coming, and the Chrome workaround is being removed in June 2025.

[!CAUTION] The maintainer should at least give a big red warning in the readme that your scripts will get nuked if you don't enable the temporary workaround. I've said this before but it's gone unnoticed and would be of great service to this community.

NeurekaSoftware avatar Apr 11 '25 23:04 NeurekaSoftware

In version 137 ,it cannot be installed or work anymore

Image

sa124a avatar Apr 15 '25 10:04 sa124a

In version 137 ,it cannot be installed or work anymore

Image

It's a Chrome issue, newer versions of Chrome delete and re-download extensions as soon as they are found to be faulty, and you'll download a half-baked extension if you have a bad internet connection

SekiBetu avatar Apr 15 '25 10:04 SekiBetu

But I tried reinstalling the installation package for crx, but it still showed an image error and caused the installation to fail

In version 137 ,it cannot be installed or work anymore Image

It's a Chrome issue, newer versions of Chrome delete and re-download extensions as soon as they are found to be faulty, and you'll download a half-baked extension if you have a bad internet connection

But I tried reinstalling the installation package for crx, but it still showed an image error and caused the installation to fail

sa124a avatar Apr 15 '25 10:04 sa124a

But I tried reinstalling the installation package for crx, but it still showed an image error and caused the installation to fail

In version 137 ,it cannot be installed or work anymore Image

It's a Chrome issue, newer versions of Chrome delete and re-download extensions as soon as they are found to be faulty, and you'll download a half-baked extension if you have a bad internet connection

But I tried reinstalling the installation package for crx, but it still showed an image error and caused the installation to fail

Image

Image

Image

do above and delete the extension and try install again

SekiBetu avatar Apr 15 '25 11:04 SekiBetu

It works for me when i followed the two tips by **DIGiztal: https://digiztal.blogspot.com/2025/04/how-to-install-violentmonkey-extension-to-chrome-browser-with-code-from-github.html and https://digiztal.blogspot.com/2025/04/how-to-enable-back-violentmonkey-extension-in-chrome-web-store.html.

limseng avatar Apr 19 '25 17:04 limseng

You can edit the "Add to Chrome" button element in DevTools and remove the disabled attribute. Then you can install Violentmonkey. Tested in 134.0.6998.89.

The following one-liner can also enable the "Add to Chrome" button:

document.querySelector('button[jsaction^="click"][disabled]').disabled = false;

This worked.

For anyone who isn't tech-savvy:

F12 Go into Console Copy and Paste: document.querySelector('button[jsaction^="click"][disabled]').disabled = false;

If you get a pop-up, just write "allow pasting" and then paste it again.

Then button should be functional :)

Outlashed avatar May 28 '25 07:05 Outlashed

Are there any plans to update this extension to Manifest V3?

#https://developer.chrome.com/docs/extensions/develop/migrate/mv2-deprecation-timeline

Starting in June, the branch for Chrome 139 will begin, in which support for Manifest V2 extensions will be removed from Chrome. Unlike the previous changes to disable Manifest V2 extensions which gradually rolled out to users, this change will impact all users on Chrome 139 at once. As a result, Chrome 138 is the final version of Chrome to support Manifest V2 extensions (when paired with the ExtensionManifestV2Availability key).

#https://chromiumdash.appspot.com/schedule Chrome 139 goes Stable Release 8/5/2025. At that point, there will be no method at all to enable this extension.

leeleahulkcs avatar Jun 10 '25 19:06 leeleahulkcs

Are there any plans to update this extension to Manifest V3?

#developer.chrome.com/docs/extensions/develop/migrate/mv2-deprecation-timeline

Starting in June, the branch for Chrome 139 will begin, in which support for Manifest V2 extensions will be removed from Chrome. Unlike the previous changes to disable Manifest V2 extensions which gradually rolled out to users, this change will impact all users on Chrome 139 at once. As a result, Chrome 138 is the final version of Chrome to support Manifest V2 extensions (when paired with the ExtensionManifestV2Availability key).

#chromiumdash.appspot.com/schedule Chrome 139 goes Stable Release 8/5/2025. At that point, there will be no method at all to enable this extension.

use tampermonkey instead

SekiBetu avatar Jun 11 '25 02:06 SekiBetu

I updated the Development build of Chromium today from 139.0.7225.0 to 139.0.7233.0 and now quite a few of my extensions are disabled with no way of enabling them again... 😕

Image

And yes, I've set the policy and the flags some time ago.

So, this seems to be the end of the road for this wonderful extension (and more).

nicolaasjan avatar Jun 11 '25 05:06 nicolaasjan