"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://flags/#temporary-unexpire-flags-m137,将最后参数改为「Enabled」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 扩展程序支持了
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
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.
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):
Open chrome://flags/#allow-legacy-mv2-extensions
Enable it and relaunch your browser.
Navigate to https://github.com/gorhill/uBlock/releases
Choose the release you want to install - currently latest stable is 1.65.
In the "Assets" section find the "chromium" file (e.g. uBlock0_1.65.0.chromium.zip) and download it.
Extract the file on your machine.
Open chrome://extensions/
Enable the "Developer mode".
Click on "Load unpacked".
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
The "flags alone" method already expired in 140. Others will follow soon.