LinkLane

Open Slack and Teams links in your work browser

A work chat can contain links to many different websites. Instead of maintaining a domain rule for each one, LinkLane can use the app a link comes from. A source-app rule sends external web links from Slack or Microsoft Teams to your chosen work browser and, optionally, a fixed profile.

LinkLane's rules: GitHub and Slack links open in the Chrome work profile, Teams links in Edge, YouTube in Safari.
LinkLane's rules: GitHub and Slack links open in the Chrome work profile, Teams links in Edge, YouTube in Safari.

Create a rule for Slack or Teams

  1. Install LinkLane and set it as your default browser using the setup assistant or General → Set as Default Browser.
  2. Open the Slack or Teams Mac app so it is available in the app picker.
  3. In LinkLane, open Rules, click + and choose Slack or Microsoft Teams under Source App. If needed, use Choose Other App… to select the installed app.
  4. Leave the domain empty to match web links from that app regardless of the website. Under Where, choose your work browser.
  5. Optionally choose a fixed work profile. This requires the free LinkLane Helper. Save the rule and repeat for the other chat app if needed.

Combine source-app and website conditions

If you only want GitHub links from Slack to use the work profile, add github.com to that source-app rule. Both conditions must match. A GitHub link from Mail then follows another matching rule or the fallback.

Order matters: the first matching rule wins. Put a specific “GitHub from Slack” exception above a general “all links from Slack” rule. Links with no matching rule use the target configured in the Otherwise row.

Verify the detected source

Click an ordinary web link in the desktop chat app, then open LinkLane’s link history from the menu bar. The entry shows the detected source, the target and the routing decision. If a rule is not being applied, check both the detected source and any higher-priority rules.

Source detection depends on how an app hands links to macOS. Some apps use short-lived helper processes, so the source cannot always be identified. An unknown source does not match a source-app rule; domain rules and the fallback still work. Private links are not saved in the history.

Desktop apps and browser tabs behave differently

This setup is for external links handed to LinkLane by the Slack or Teams Mac app. If you use Slack in a browser tab, the browser may handle links itself. When a browser does hand a link to LinkLane, the detected source is the browser, not the Slack website.

Hold fn or Shift while clicking an external link to choose another browser for that one occasion. To stop routing links from an app to your work browser, remove or edit its rule; other rules and the fallback still apply.

Try LinkLane on your Mac

Set up your own browser rules with LinkLane for Mac. Rules and history stay on your Mac; no account is needed.

Free 14-day trial, then a one-time unlock · macOS 13 or later · Apple Silicon and Intel

Related guides