For Mac · Safari and Chrome profiles
You wear many hats.
Hat Trick opens each link with the right one on.
Your hats are your browser profiles. They keep your work, your personal life and your side projects apart, each signed in to its own accounts. Hat Trick makes the links from Mail, Slack and your other apps open in the right profile in Safari or Chrome.
From the developer of Charles Proxy.
macOS 14 or later · Safari 17 or Google Chrome · Free for 30 days
The problem
Profiles keep things apart. Links don’t.
Each profile has its own windows, history and sign-ins. That is why you use profiles. But macOS sends each link from another app to one browser, and the browser opens it in one profile, often the wrong one.
So the document from your work email opens in your personal profile, and the page asks you to sign in. You copy the link, find a window of the right profile, and paste it. For each link, every day.
Sign in to open this document
You are signed in as sam@home.example. This document belongs to an account at work.
Here’s the trick.
Make Hat Trick your default browser. When you click a link in another app, Hat Trick asks which profile opens it, and the suggested profile is already highlighted. Press Return, and the link opens in a new tab of that profile.
The suggestion comes from the window that you clicked in: the mailbox, the Slack workspace or the account in its title.
Suggested: the window title names Work Suggested: the window title names Fernbird The window title does not name a profile. Last time, you chose Personal for youtube.com.
Matching
Name things nicely, and it all matches up.
Many apps put the account or the workspace in the title of the window. When the title has the name of one of your profiles as a whole word, Hat Trick suggests that profile. Capitals and accents do not matter. It works for any app, and you do not set anything up.
So give each profile the name of its mail account or its Slack workspace, or rename an account to match its profile.
-
Mail
Inbox — WorkWork -
Slack
general (Channel) - Fernbird - SlackFernbird -
Mimestream
Inbox: Primary – PersonalPersonal -
An email address
Inbox – sam@fernbird.coFernbird -
Not a whole word
Fernbirds Fan ClubDoes not match
Suggestions
No name in the title? Hat Trick remembers.
Hat Trick remembers each choice. It suggests the first profile in this list that fits the link.
- 1Your “always” rule for the site, or for the app and the profile name in its title.
- 2A profile name in the title of the window.
- 3The profile for the site that you chose last time, for example for
mail.google.com. - 4The profile for the domain, for example for
google.com. - 5The profile for the app that the link came from, for example Slack.
- 6The profile that you used last.
Details
Quick to choose. Quicker to skip.
One key per link
Press 1 to 9 to open the link in a profile, or ↩ for the highlighted one. The arrow keys move the highlight, ⌘C copies the link, and esc cancels.
Skip the prompt
Press A to always open a site in its profile. When the window title has a profile name, press L to always open the links from that app with that name in that profile.
A new tab, or a new window
The link opens in a new tab of the profile’s newest window, or in a new window when the profile has none. With Safari, the link stays on your current Space. Press N, or hold ⌥, for a new window.
Safari and Chrome together
Turn on each browser in Settings, and choose its profiles. The prompt lists them together, with the icon of each browser. When two profiles have the same name, the prompt shows their accounts.
Wrong hat? Choose again.
For 20 seconds after a link opens, Choose Again in the menu bar menu shows the prompt for that link again. When an “always” rule opened the link, Forget Rule removes that rule.
Ask me this time
Hold ⌥ while you click a link, and Hat Trick asks, also for a link with an “always” rule.
Private by design
Your links stay on your Mac.
Hat Trick reads the title of the window that a link comes from, and it keeps your choices on your Mac. It does not send your links, your window titles or your choices to us or to anyone else.
- On your MacYour profiles, your rules and your history stay in the settings of Hat Trick.
- Without an accountDownload Hat Trick and use it. You never sign in, also after you buy.
- Easy to forgetSettings › Rules lists each rule. Forget any rule, or all your history, at any time.
Questions
Before you click
How does the trial work?
Hat Trick has every feature for 30 days from its first launch on each Mac, without a licence. After that, it continues to work. Until you enter a licence, the prompt shows a reminder, and you can choose a profile after 5 seconds. A link with an “always” rule opens without the prompt, as before.
Which browsers does Hat Trick support?
Safari 17 or later, which has profiles, and Google Chrome. Safari is on at first. Turn on Chrome in Settings › Profiles. If Settings shows Allow Access, click it one time. Hat Trick does not support other browsers yet.
Why does Hat Trick need Accessibility access?
Hat Trick reads the title of the window that a link comes from, which can name an account. Safari does not let other apps choose a profile. So Hat Trick also reads the names of your profiles from Safari’s File menu, and it chooses File › New ‹Profile› Window to open a window of a profile. macOS allows these only with Accessibility access.
Why does macOS ask if Hat Trick can control Safari?
Hat Trick uses AppleScript to put the link in a new tab of the right Safari window. Click Allow the first time.
What about the links that I click in Safari or Chrome?
They stay in their browser, as before. Only the links from other apps go to Hat Trick.
Does Chrome need to be open?
No. Hat Trick reads the Chrome profiles from Chrome’s settings file. When you choose a Chrome profile, Chrome opens the link in that profile, and it starts when necessary.
Does Hat Trick work with Safari in other languages?
Yes. Hat Trick reads the profiles from Safari’s File menu in each language of Safari.
I added a profile. Why is it not in the prompt?
Choose Refresh Profiles in the menu bar menu. Hat Trick also reads the profiles again each time that a link comes in while Safari is open. Hat Trick ticks each new profile, so it shows in the prompt. Untick it in Settings › Profiles to remove it from the prompt.
Can I use one licence on several Macs?
Yes. A licence is for one person, on all of their own Macs. Each other person who uses Hat Trick needs their own licence.
How do I enter my licence key?
Click the Hat Trick icon in the menu bar, and choose Enter Licence…. Then paste the key from the email of your purchase.
Are updates free?
Every update to your major version is free, for example every 1.x release. Hat Trick checks for updates once a day.
Pricing
Pay once. Use it on all your Macs.
Try Hat Trick free for 30 days, with every feature. Then buy a licence.
Hat Trick
- Safari and Chrome profiles in one prompt
- Suggestions from window titles and your choices
- “Always” rules for your sites and apps
- Every 1.x update
By buying a licence, you agree to the Terms.
A licence is for one person, on all of their own Macs. Each person who uses Hat Trick needs their own licence, and you can buy several in one purchase.
Each licence includes every update to its major version, for example every 1.x release.
After the trial, Hat Trick continues to work. Until you enter a licence, the prompt shows a reminder, and you can choose a profile after 5 seconds.
Paddle takes the payment. Sales tax or VAT can apply, as the law of your country requires.
If Hat Trick is not right for you, you can get a full refund within 30 days. See the refund policy.
The checkout did not open. Try again, or email support@ahattrick.app.
Every link, in the right hat.
Download Hat Trick, make it your default browser, and click a link. Every feature is free for 30 days.
macOS 14 or later