Block URLs in Chrome or Chromium on Windows Without an Extension
- Open
RegEdit
from the Start menu and create the following Registry Key
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome*URLBlocklist*
- For each URL you want to block just create a
new String
value, named by a number.
Example
Name: 1
Value: https://*.google.com
Set the command line flag
--install-url-blocklist-handlers
. Right click Chrome's shortcut, go toProperties
, then to theShortcut tab
, and append the switch to the end of theTarget value
.Restart your Chrome or Chromium based Browser.
All google.com
subdomains will now be blocked.
For more patterns check the info:
For more command line switches: