Protect browsers from accessing untrusted websites. A browser extension for the paranoid.
Browser Guard intercepts all top-level navigation requests and checks if the destination is on your list of trusted domains. If it is not found, the request is blocked, and you're given the option to temporarily or permanently trust the domain.
You can install Browser Guard for Firefox by installing the Browser Guard addon from the Mozilla addon store.
Chrome (and Chromium-based browsers)
You can install Browser Guard for Chrome and Chromium-based browsers by installing the Browser Guard extension from the Chrome Web Store.
Alternatively, you can side-load Browser Guard in Chrome and Chromium-based browsers using the following steps:
- Download the ZIP file for the latest release of Browser Guard from releases
- Extract the ZIP file to a directory like
C:\users\<your name>\Documents\extensions\Browser Guard
- Open Chrome and access your extension settings, either by navigating to
Extensions, or visiting the
- Enable the "Developer mode" switch
- Click the "Load unpacked" button
- Browse to the directory where you extracted the Browser Guard, e.g.,
C:\users\<your name>\Documents\extensions\Browser Guard(make sure you're in the same directory as the
- Click the "Select Folder" button
For all other browsers which support WebExtensions, you can build the TypeScript files yourself following the Building Browser Guard steps, and install the extension using the
/src directory in your repository.
Browser Guard uses Visual Studio Code and NPM to manage the development and build environment. Ensure you have Visual Studio Code and Node.JS installed before proceeding.
Steps to build:
- Clone the Browser Guard repository locally or download the repository as a ZIP file and extract it
- In a command prompt window, change to the "Browser-Guard" folder and run "npm install"
- Open the "Browser-Guard" folder in Visual Studio Code and select "Open Workspace" when prompted
- Open any of the files in "/src/ts"
- Type "Shift + Control + B"
- Select either "tsc: build" (to build once) or "tsc: watch" (to build after each change)
Browser Guard takes your privacy seriously. No data is collected by Browser Guard at any point, and no connections are ever made to any remote servers.