Skip to content

Instantly share code, notes, and snippets.

@felixhammerl
Created December 13, 2024 09:01
Show Gist options
  • Save felixhammerl/4ec829cfc157acc0a964a40f2d849dc5 to your computer and use it in GitHub Desktop.
Save felixhammerl/4ec829cfc157acc0a964a40f2d849dc5 to your computer and use it in GitHub Desktop.
Fixing "There is no application set to open the URL" popup for Chrome on macOS

Step 1: Write down the protocol

Take a note of the protocol portion of the URL your browser is trying to open. For example:

  • For MS Teams, the URL is msteams://..., so the protocol portion is msteams.
  • For Miro, the protocol is miroapp

This will be used in step 4.

Step 2: Close your browser

Make sure all windows are closed, as the preferences files can be overwritten on exit.

Step 3: Browser profile preferences

Open the browser profile preferences file in a text editor.

If you have a single browser profile, you will find them here: ~/Library/Application\ Support/Google/Chrome/Default/Preferences

I have multiple browser profiles, so I'll find them here:

  • ~/Library/Application\ Support/Google/Chrome/Profile\ 2/Preferences
  • ~/Library/Application\ Support/Google/Chrome/Profile\ 4/Preferences
  • ~/Library/Application\ Support/Google/Chrome/Profile\ 5/Preferences

Step 4: Remove the protocol handler

Look for the protocol portion in the Preferences file, and you will find something like

"https://miro.com":{"miroapp":true},

It will look similar for MS Teams. Remove that section, and everything that's in the curly brace. If there is a comma after the closing curly brace, remove that as well. It has to be readable JSON, after all.

Step 5: Restart your browser

That should be it. If it isn't, you've either not closed the browser fully in step 1, or you've changed the wrong Preferences file in step 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment