Skip to content

osszoi/chrome-ltc

Repository files navigation

Chrome Link Traffic Control

Description

Chrome Link Traffic Control is a tool that allows you to control which Chrome profile is used to open URLs based on regex mappings.

Setup

Windows

  1. Install the dependencies:

    npm install
  2. Run the setup script:

    node setup.js
  3. Set the .bat file as your default browser:

    • Open Settings.
    • Go to Apps > Default apps.
    • Scroll down and click on Choose default apps by protocol.
    • Find HTTP and HTTPS protocols and set the default app to the .bat file created by the setup script.

Mac

TBD

Linux

  1. Install the dependencies:

    npm install
  2. Run the setup script:

    node setup.js
  3. 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
  4. Verify the setup:

    xdg-settings get default-web-browser

    This should output: custom-browser.desktop

Checklist

  • Setup tested and working on Windows
  • Setup tested and working on Mac
  • Setup tested and working on Linux

About

Chrome Link Traffic Controller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •