-
-
Save siathalysedI/cbc1fc5400c1a195fc1422f7829e078e to your computer and use it in GitHub Desktop.
Revisions
-
velzie revised this gist
Jun 6, 2024 . 1 changed file with 2 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,9 +8,8 @@ You can use this as a regular user, which will let you keep your mv2 extensions ## Linux In a terminal, run: ```bash sudo mkdir -p /etc/opt/chrome/policies/managed /etc/opt/chromium/policies/managed echo '{ "ExtensionManifestV2Availability": 2 }' | sudo tee /etc/opt/chrome/policies/managed/policy.json /etc/opt/chromium/policies/managed/policy.json ``` ## ChromeOS -
velzie revised this gist
Jun 6, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ # How to keep using adblockers on chrome and chromium 1. google's manifest v3 has no analouge to the `webRequestBlocking` API, which is neccesary for (effective) adblockers to work 2. starting in chrome version 127, the transition to mv3 will start cutting off the use of mv2 extensions alltogether 3. this will inevitably piss of enterprises when their extensions don't work, so the `ExtensionManifestV2Availability` key was added and will presumably stay forever after enterprises complain enough You can use this as a regular user, which will let you keep your mv2 extensions even after they're supposed to stop working -
velzie revised this gist
Jun 6, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # How to keep using adblockers on chrome and chromium 1. google's manifest v3 has no analouge to the `webRequestBlocking` API, which is neccesary for (effective) adblockers to work 2. starting in chrome version 127, the transition to mv3 will start cutting off the use of mv2 extensions alltogether 3. this will inevitably piss of enterprises when their extensions don't work, so the `ExtensionManifestV2Availability` key was added and will presumably stay forever -
velzie revised this gist
Jun 6, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -28,4 +28,4 @@ Open regedit, and create `Software\Policies\Google\Chrome\ExtensionManifestV2Ava In a terminal, run: `defaults write com.google.Chrome ExtensionManifestV2Availability 2` (note that i haven't tested this for mac. please let me know if it doesn't work) -
velzie revised this gist
Jun 6, 2024 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,7 @@ You can use this as a regular user, which will let you keep your mv2 extensions even after they're supposed to stop working ## Linux In a terminal, run: ```bash sudo mkdir -p /etc/opt/chrome/policies/managed echo '{ "ExtensionManifestV2Availability": 2 }' | sudo tee /etc/opt/chrome/policies/managed/policy.json @@ -24,4 +25,7 @@ echo '{ "ExtensionManifestV2Availability": 2 }' | sudo tee /etc/opt/chromium/pol Open regedit, and create `Software\Policies\Google\Chrome\ExtensionManifestV2Availability` as a dword set to `0x00000002` ## MacOS In a terminal, run: `defaults write com.google.Chrome ExtensionManifestV2Availability 2` (note that i haven't tested this. please let me know if it doesn't work) -
velzie revised this gist
Jun 6, 2024 . 1 changed file with 8 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,6 +12,14 @@ echo '{ "ExtensionManifestV2Availability": 2 }' | sudo tee /etc/opt/chrome/polic echo '{ "ExtensionManifestV2Availability": 2 }' | sudo tee /etc/opt/chromium/policies/managed/policy.json ``` ## ChromeOS - enable developer mode - upon rebooting, go into vt2 (shift+ctrl+right arrow function key) - log in as root - type in `/usr/libexec/debugd/helpers/dev_features_rootfs_verification && reboot` - upon rebooting, go into vt2 again and log in as root - run the commands from the linux section ## Windows Open regedit, and create `Software\Policies\Google\Chrome\ExtensionManifestV2Availability` as a dword set to `0x00000002` -
velzie created this gist
Jun 6, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ # How to keep using adblockers on chrome and chromium 1. google's manifest v3 has no analouge to the `webRequestBlocking` API, which is neccesary for (good) adblockers to work 2. starting in chrome version 127, the transition to mv3 will start cutting off the use of mv2 extensions alltogether 3. this will inevitably piss of enterprises when their extensions don't work, so the `ExtensionManifestV2Availability` key was added and will presumably stay forever You can use this as a regular user, which will let you keep your mv2 extensions even after they're supposed to stop working ## Linux ```bash sudo mkdir -p /etc/opt/chrome/policies/managed echo '{ "ExtensionManifestV2Availability": 2 }' | sudo tee /etc/opt/chrome/policies/managed/policy.json echo '{ "ExtensionManifestV2Availability": 2 }' | sudo tee /etc/opt/chromium/policies/managed/policy.json ``` ## Windows Open regedit, and create `Software\Policies\Google\Chrome\ExtensionManifestV2Availability` as a dword set to `0x00000002` ## MacOS `defaults write com.google.Chrome ExtensionManifestV2Availability 2`