使用ExtensionManifestV2Availability  的方法已经没用了,

Chrome扩展被禁用,扩展程序已停用,因为它们已不再受支持


Chrome 139(含)- 140.0.7339.128 解决方案

 

Windows 解决方案


 
"C:\Users\xxxx\AppData\Local\Google\Chrome SxS\Application\chrome.exe" --disable-features=ExtensionManifestV2Unsupported,ExtensionManifestV2Disabled






 






Chrome 138 是支持 Manifest V2 扩展程序(与 ExtensionManifestV2Availability 键搭配使用)的最后一个版本。如果你想继续通过本方法维持 Manifest V2 扩展使用,请不要升级到139及以上版本的浏览器。

目前存在一个实验性设置,同样可以临时开启 Manifest V2 扩展支持,详见步骤中的第 11 步,谷歌目前在坚持推动 V3 扩展的使用,在后续版本中谷歌很可能会突然删除这些实验性选项,这个实验性设计能坚持多久好不好说



这个方法失效了。。。

步骤

1.在Windows 10/11搜索框中输入regedit 打开注册表编辑器

2.在注册表编辑器中打开:HKEY LOCAL MACHINE\SOFTWARE\Policies\ 路径

3.右键单击 Policies新建项,命名为 Google

4.右键单击 Google新建项,命名为 Chrome

5.右键单击 Chrome,新建 DWORD32 位值,命名为 ExtensionManifestV2Availability

6,右键单击ExtensionManifestV2Availability将键值修改为2 左键单击 确定 按钮


请用这个方法:
    • 打开 chrome 浏览器
    • 访问chrome://flags/#temporary-unexpire-flags-m137,将最后参数改为「Enabled」
    • 重启 Chrome 浏览器(注意要彻底重启,不要残留后台进程)
    • 依次访问如下地址,并设置为对应参数

chrome://flags/#extension-manifest-v2-deprecation-warning #设置为[Disabled]

chrome://flags/#extension-manifest-v2-deprecation-disabled #设置为[Disabled]

chrome://flags/#extension-manifest-v2-deprecation-unsupported #设置为[Disabled]

chrome://flags/#allow-legacy-mv2-extensions #设置为[Enabled]

再重启一次浏览器,应该就可以开启 Manifest v2 扩展程序支持了


 

为什么按照上文操作后浏览器显示了一行字「您的浏览器由贵组织管理」

  1. 为什么需要这个操作?
    大家想用的某些浏览器插件(比如一些旧版工具)需要开启对 Manifest V2 扩展程序的支持才能运行。但新版 Chrome 默认禁用了它。我们的目标是:通过一个chrome设计给企业用户的“小开关”重新开启 V2 插件支持,让大家能用上这些插件。
  2. 什么是企业策略?
    企业策略(Policy)本质是 Chrome 浏览器内置的配置开关,就像手机里的“开发者选项”。设计初衷是方便 公司统一设置所有员工浏览器(比如强制启用一些安全功能)。但普通用户也可以手动开启个别开关。就像你可以自己打开手机的“开发者选项”模式后,自行配置蓝牙编码器版本呀,音频采样率呀。上文的操作的本质,是借用 Chrome 留给高级企业用户的“合法后门”来恢复 V2 插件功能。
  3. 谷歌为什么要留这个“合法后门”?
    因为大型企业经常会有一些很老的自有的工作用扩展,这些扩展可能对企业正常工作很有必要性,如果谷歌过于强硬的一刀切,禁止了这些 V2 扩展,可能导致企业无法正常运转,如果恰好这个企业是一些关键行业的,比如民航、汽车、海关等,因为谷歌的一个策略直接全行业瘫痪,谷歌可背不起这个锅。所以谷歌给这些企业用户设计了一个“企业策略”,允许企业重新开启对 Manifest V2 扩展程序的支持。但谷歌也不打算永远兼容Manifest V2 扩展,所以也限制了,这个“小开关”仅限 138版本以下浏览器可用


 

End of Support for uBO on Chrome / Chromium browsers is nearly here

 

Workarounds to postpone removal:

On Chrome 140 use the Shortcut/launch Parameter

You can set your chrome shortcut to this to regain access for a while longer, but it's unclear how long that's gonna work:

chrome.exe --disable-features=ExtensionManifestV2Unsupported,ExtensionManifestV2Disabled

E.g. On Windows:

"C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-features=ExtensionManifestV2Unsupported,ExtensionManifestV2Disabled

About "Loading unpacked" extension:

This does NOT let you regain access to your previous install. You won't be able to export your settings using this.

It simply installs another (local) copy of the extension in your browser that you can use.

This method won't be available in Chrome 142 anymore either.

The flag required to "load unpacked" mv2 extensions expires in Chrome 139. There are "unexpire" flags available for 2 versions back, so it'll work on Chrome 140 and 141 with additional flags set. And that's it.

 

Here are the instructions anyway (Chrome 138-139):

  1. Open chrome://flags/#allow-legacy-mv2-extensions

    1. Enable it and relaunch your browser.

  2. Navigate to https://github.com/gorhill/uBlock/releases

    1. Choose the release you want to install - currently latest stable is 1.65.

    2. In the "Assets" section find the "chromium" file (e.g. uBlock0_1.65.0.chromium.zip) and download it.

    3. Extract the file on your machine.

  3. Open chrome://extensions/

    1. Enable the "Developer mode".

    2. Click on "Load unpacked".

    3. Select the uBlock0.chromium folder and load it.

On Chrome 140 you'll first need to enable this flag and relaunch your browser, then follow the above:

 chrome://flags/#temporary-unexpire-flags-m139

And on Chrome 141 enable this and relaunch before following the above:

 chrome://flags/#temporary-unexpire-flags-m140

Again, this installs a new copy and does NOT restore your config.


All the above means are temporary - use them to grab your config and get ready to change browsers or extensions.

The "flags alone" method already expired in 140. Others will follow soon.


标签: