Automatically open matching URLs with Choosy from in-browser.
Choosy is an excellent tool for macOS that extends the concept of a "default browser" by allowing you to configure specifically which browser should handle which links. While Choosy has a browser extension that adds a button to the toolbar to easily open a page with another browser and a right-click option for links to "Open with Choosy", it would be nice if certain pages would always be automatically sent to another browser.
autochoosy uses Choosy's URL scheme API to automatically send pages to Choosy, which handles them according to its configured rules.
- Install Choosy and configure rules.
- Configure your browser to always open
x-choosy://
URLs with Choosy.
- Paste
x-choosy://https://example.com/
into the address bar and, when prompted, select "Choosy" and "Always use this application to open x-choosy links".
- Download and install the latest version of autochoosy from https://addons.mozilla.org/firefox/addon/autochoosy/ or from this repo's releases.
If you use Firefox Developer Edition or another version that permits the installation of unsigned add-ons, you can package autochoosy yourself by running zip autochoozy.xpi *
in the source directory.
In about:addons
, navigate to autochoosy > Preferences; there, you can configure the regex that is used to decide when to send a page to Choosy.