2025年Chrome继续使用旧版插件

本文最后更新于 2025年8月6日 凌晨

0. 开启企业策略继续使用 Mainifest V2

2025年更新Chrome后提示某些插件不受支持、需要移除。可不理会,手工重新启用这些插件,但有些烦人。

使用Chrome企业策略,可继续开启Chrome对Manifest V2的支持

For Windows

在管理员级 cmd 中执行

reg.exe add "HKLM\SOFTWARE\Policies\Google\Chrome" /v ExtensionManifestV2Availability /t REG_DWORD /d 2 /f
reg.exe query "HKLM\SOFTWARE\Policies\Google\Chrome" /v ExtensionManifestV2Availability
reg.exe delete "HKLM\SOFTWARE\Policies\Google\Chrome" /v ExtensionManifestV2Availability /f

For Linux

以root身份执行

mkdir -p /etc/opt/chrome/policies/managed/
echo '{ "ExtensionManifestV2Availability": 2 }' | tee -a /etc/opt/chrome/policies/managed/ExtensionManifestV2Availability.json

重启Chrome,地址栏输入

chrome://policy

检查策略,确认生效。更多细节参看

https://chromeenterprise.google/policies/?policy=ExtensionManifestV2Availability

From scz:

2025.6 之后只能使用新版V3插件,V2彻底凉了。基于此,若有SwitchyOmega、WebRTC之类的V2插件,趁早寻找V3平替。

Manifest V2 support timeline - Last updated 2021-09-23 UTC
https://developer.chrome.com/docs/extensions/develop/migrate/mv2-deprecation-timeline

在 Chrome 138 中,开启企业策略的方法已经不好用了,下面是最新的有效方法。

1. 恢复 Chrome 137 的 flags

chrome://flags/#temporary-unexpire-flags-m137 设置为 Enabled ,重启浏览器。

Gemini:

The flag `#temporary-unexpire-flags-M{$MSTONE` (where {$MSTONE} is the milestone number) is used in 
Chromium-based browsers (like Chrome and Edge) to temporarily re-enable flags that have expired due to a milestone change. 

These flags are typically hidden by default after a certain milestone, 
but this flag allows users to access them again for testing or other specific purposes.

基于 Chromium 的浏览器升级后,一些内部使用的 flags 在 Chrome://flags 中可能消失。
设置 #temporary-unexpire-flags-Mxxx 为 Enabled 后重启浏览器,在 chrome://flags 中可能再次看见这些 flags。

但是肯定不是长久之计,说不定什么时候就真的没法设置这些 flags。

2. 开启 Chrome 对 Manifest V2 的支持

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

以下所有选项设置为 Disabled

chrome://flags/#extension-manifest-v2-deprecation-warning 
chrome://flags/#extension-manifest-v2-deprecation-disabled
chrome://flags/#extension-manifest-v2-deprecation-unsupported

重启浏览器。

Chrome 的后续版本中,这些 flags 可能会发生变化,需要稍加调整。
在 Chrome 139 和 140 中,还是可以继续使用 Manifest V2 的插件。

https://github.com/uBlockOrigin/uBlock-issues/discussions/3690


2025年Chrome继续使用旧版插件
https://usmacd.com/cn/chrome_manifest_v2_2025/
作者
henices
发布于
2025年3月6日
许可协议