BroSwitch Free
English

How-to guides

How to stop Slack or Teams links opening in the wrong browser or profile

Slack and Teams hand links to your default browser, in whatever profile was used last. A BroSwitch rule on the app the link was clicked in sends every Slack link to your work profile.

Without extra software

macOS has a single default browser and no notion of “which app the link came from”. You can only make Chrome the default and remember to click into your work window before each link.

With BroSwitch

  1. Open BroSwitch Settings › Rules and click Add Rule…
  2. Set Condition to Clicked in app (bundle id) and enter com.tinyspeck.slackmacgap for Slack (or com.microsoft.teams2 for Teams).
  3. Set Action to Open in a browser and pick your work profile, for example Google Chrome — Work.
  4. Click Save. Rules are checked from top to bottom; the first one that matches decides.
BroSwitch Edit Rule sheet: condition Clicked in app com.tinyspeck.slackmacgap, action Open in Google Chrome — Work
One rule: everything clicked in Slack opens in Chrome — Work.
BroSwitch Rules tab listing three rules
The Rules tab. The rule tester at the bottom shows which rule a link would hit, without opening it.

Two Slack workspaces, one work and one personal? Turn on Use the title of the window a link was clicked in in Settings › Signals (it needs Accessibility permission): a rule can then match the workspace name in the Slack window title.

Watch it

Questions

How do I find an app’s bundle id?
Click a link in that app once: the Log tab in BroSwitch Settings shows it in the “From” column.
Do rules beat the automatic choice?
Yes. Your rules win over every signal (signed-in sessions, history).