If you maintain a Chromium fork or build Chromium from source, you can restore MV2 support by changing a single line: just change
g_allow_mv2_for_testing to
true.
Setting
g_allow_mv2_for_testing to
true unconditionally restores MV2 functionality without any flags. This boolean is used to run Chromium tests, so it will exist for as long as Chromium needs to run MV2 extension tests (most tests are still MV2 for historical reasons, even if they test behaviors identical across manifest versions).
I tested this approach at the very beginning of Chromium MV2 deprecation years ago and at least one Chromium fork uses it (
source). This patch even re-enables MV2 support in Chrome Web Store developer private API, permitting user to install MV2 extensions from Chrome Web Store. As of writing Chrome Web Store hides MV2 extensions from search, but it still serves them if user opens a direct link and delivers updates for MV2 extensions. Of course, Chrome Web Store should be expected to gradually remove MV2 extensions altogether.