DNS Blocker for Chrome and Firefox (Web Extension)
- Clone this repository
- Visit
chrome://extensions/ - Enable Developer mode.
- Click on
Load unpacked extension - Select the
web-extensiondirectory of the cloned folder. (You'll get an "Disable dev mode extensions" popup, if you try restarting Chrome at this stage) - Click on
Pack extensionand enter theweb-extensiondirectory of the cloned folder (keeppem fileempty) - Uninstall the previously installed extension (as unpacked extension)
- Install the extension using the
.crxfile generated at step5and note itsID - Add the following registry key
- Under
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallAllowlist(create it if not exists), create a new string for each extension you want to enable with sequential names (indices), e.g. 1, 2,... - Enter the extension ID as string value. For example: there is a string with name
1and valuenmgnihglilniboicepgjclfiageofdfj
- Under
- Restart Chrome
- You can check that the policy is working in Chrome by opening
chrome://policy
In order to override the extension shortcuts : go to chrome://extensions/shortcuts
- Clone this repository
- Visit
about:debugging - click
This Firefox - click
Load Temporary Add-onthen select the any file inside theweb-extensiondirectory (At this stage, the extension will be removed if you restart Firefox - The extension must be signed to be installed permanently) - Generate a
zipfile of the extension - Submit the archive on
https://addons.mozilla.org/developers/(requires a Firefox account) - Download the signed
xpifile and install it onFirefox
In order to override the extension shortcuts : go to about:addons and select Manage Extension Shortcuts