Some (web) apps don't give you the choice to open their urls on the web or in their app. This small script allows you to setup up urls to be opened with specific apps and adds a question if web or desktop is desired.
- Install Hammerspoon
- Install SpoonInstall (unzip and click to install)
- Move the contents of
appOrWebDialog.lua(question dialog version) oralwaysApp.lua(default to app version) to~/.hammerspoon/init.lua - Reload Hammerspoon configuration if you already started it.
- Set Hammerspoon as default web browser in macOS preferences -> General