Chrome Link Traffic Control is a tool that allows you to control which Chrome profile is used to open URLs based on regex mappings.
-
Install the dependencies:
npm install
-
Run the setup script:
node setup.js
-
Set the
.batfile as your default browser:- Open
Settings. - Go to
Apps>Default apps. - Scroll down and click on
Choose default apps by protocol. - Find
HTTPandHTTPSprotocols and set the default app to the.batfile created by the setup script.
- Open
TBD
-
Install the dependencies:
npm install
-
Run the setup script:
node setup.js
-
The script will automatically:
- Create a desktop entry file at
~/.local/share/applications/custom-browser.desktop - Set it as your default browser for HTTP and HTTPS protocols
- Create a desktop entry file at
-
Verify the setup:
xdg-settings get default-web-browser
This should output:
custom-browser.desktop
- Setup tested and working on Windows
- Setup tested and working on Mac
- Setup tested and working on Linux