←back to thread

552 points freedomben | 10 comments | | HN request time: 1.156s | source | bottom
1. QuantumGood ◴[] No.41812638[source]
"browsers using the ExtensionManifestV2Availability policy will be exempt from any browser changes until June 2025"

To extend ManifestV2 in Chrome, add the text below to a text file, saving and running it as a .reg will create and add a value of 2 to "ExtensionManifestV2Availability" in the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome key

(When you open/run a .reg file, it updates your registry, usually preceeded by a warning.)

Alternatively, you could do this manually by pressing the Windows key, type "run" (without the quotes) and enter, type "regedit" (without the quotes) and enter, then navigate as far as you can to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome key

You may find there is no "Chrome" key and will need to create it, as well as creating ExtensionManifestV2Availability

--------------------------------------

  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]


  "ExtensionManifestV2Availability"=dword:00000002
replies(6): >>41813064 #>>41814881 #>>41815291 #>>41815987 #>>41816440 #>>41817240 #
2. exikyut ◴[] No.41813064[source]
And IIRC including the quotes in a filename in a save dialog, líke "manifestv2.reg" (incl quotes), will save it with the extension you typed, so you won't end up with 'manifestv2.reg.txt'. So you skip a potentially otherwise needed rename step.
replies(1): >>41814099 #
3. gzer0 ◴[] No.41814099[source]
Wow, thanks for this tip. Saves the effort of having to manually find "all types" in the drop down... this is so much easier.

Also, just for clarification:

  Windows Registry Editor Version 5.00

  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
  "ExtensionManifestV2Availability"=dword:00000002
Apparently, the line Windows Registry Editor Version 5.00 is necessary at the beginning of the .reg file. This line indicates the format version for the registry file and tells Windows that it is compatible with the current registry editor (according to GPT). This worked for me.

Save the file as:

  EnableExtensionManifestV2.reg
4. EvanAnderson ◴[] No.41814881[source]
Single command line (Run as Administrator-- you can do that from the Windows key-R dialog by holding CTRL-SHIFT and pressing ENTER):

   REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome /v ExtensionManifestV2Availability /t REG_DWORD /d 2
5. tech234a ◴[] No.41815291[source]
Note that this will also disable Chrome’s DNS Over HTTPS as Chrome disables the DoH resolver by default when the browser is managed by enterprise policies like this one. See the platform-specific links mentioned on the uBlock Origin subreddit [1], many of which also include instructions for enabling the DoH resolver while managing the browser using policies.

[1]: https://old.reddit.com/r/uBlockOrigin/comments/1d49ud1/manif...

replies(1): >>41846960 #
6. askvictor ◴[] No.41816440[source]
What about Linux and Mac?
replies(2): >>41816630 #>>41850896 #
7. rootsu ◴[] No.41816630[source]
Link for Mac command

https://old.reddit.com/r/chrome/comments/1d799pa/tutorial_on...

8. ◴[] No.41817240[source]
9. account42 ◴[] No.41846960[source]
Good. Letting Google MITM all your DNS queries is insane.
10. paravz ◴[] No.41850896[source]

    echo '{"ExtensionManifestV2Availability": 2}'  | sudo tee -a /etc/chromium/policies/managed/ExtensionManifestV2Availability.json