Last active 1731735365

https://blog.vinfall.com/posts/2024/08/browser-customize-chromium/#配置插件

allow-nwjs-game.bat Raw
1@echo off
2echo "Delete reg to allow Electron/NW.js..."
3
4reg delete "HKEY_LOCAL_MACHINE\Software\Policies\Chromium\ExtensionAllowedTypes" /f
5reg delete "HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\ExtensionAllowedTypes" /f
6reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\ExtensionAllowedTypes" /f
7if %errorlevel%==0 (
8 echo ExtensionAllowedTypes policy deleted.
9) else (
10 echo ExtensionAllowedTypes policy deletion failed!
11)
12
13pause