- Create the following folders:
For Vivaldi, the paths are diferent:/etc/opt/chrome/policies/managed /etc/opt/chrome/policies/recommended
/etc/chromium/policies/managed /etc/chromium/policies/recommanded
- Create the file
/etc/opt/chrome/policies/managed/settings.json
containing{ "URLBlocklist": [ "*" ], "URLAllowlist": [ "chrome://settings", "chrome://os-settings", "chrome-untrusted://", "chrome://policy", "https://google.com", "https://google.de", ".new-tab-page", "chrome://resources", "chrome://theme", "chrome://favicon2", "https://wikipedia.org", "https://homeworker.li", "https://mebis.bayern.de", ], "ExtensionInstallBlocklist": ["*"], "ExtensionInstallTypeBlocklist": ["command_line"], "ExtensionInstallSources": ["https://chromewebstore.google.com/*"], "ExtensionInstallForcelist": [ "efaidnbmnnnibpcajpcglclefindmkaj", "nngceckbapebfimnlniiiahkandclblb", "cjpalhdlnbpafiamejdnhcphjbkeiagm" ] }
- Make sure that the files a owned by
root
and cannot be altered by users (644).
Last active
August 7, 2025 09:03
-
-
Save pohlt/c7afc06aecd858ab222b23699a011c6f to your computer and use it in GitHub Desktop.
Chrome policies to block / allow URLs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment