How to open all links in Incognito by default.
- Open Script Editor
- Create a new file and paste the code below
- Save it as /Applications/BrowserProxy.app
- Open the terminal and try opening a website with the new script:
open -a /Applications/BrowserProxy.app https://google.com
- Install https://github.com/kerma/defaultbrowser and run
defaultbrowser browserproxy
to set the new script as the default browser - Try clicking any links in external apps other than the browser itself and see them open in new Incognito tabs.
NOTE: I'm using Brave Browser as the target browser. You should change it to what suits your needs. Since Brave is a Chromium, changing every "Brave Browser" to "Google Chrome" should suffice.