3

My default browser is Chromium. I tend to use different browsers and assign them to a Space. So for example Chromium is space 1 along with an item, Firefox in space 2 with terminal, Safari 3 with virtualbox, and so on. Browser plus terminal, for me gives a functional workspace. So far, so good.

However, I would like to have a different default browser in each space. So when I click on a link from some other app, it opens in the default browser in the current space, not only Chromium.

Also acceptable would be "open in the browser based on space number" or similar.

How can I make this happen?

4

You could try Choosy.

  • could you add instructions? don't just hyperlink the answer please... – Brick Nov 30 '15 at 8:26
  • Could you include your feedback on this software? – dan Nov 30 '15 at 9:19
2

Perhaps involving less low-level coding than my other suggestion...

Another possible approach would be to create your own browser and set that as the default, and your browser passes URLs off to other browsers depending on what space is the active space.

If you can create an Automator app or AppleScript that accepts HTML files in such a way that you can set it to be the default browser, then this solution becomes fairly easy.

Your app can detect the current space using AppleScript. Then, just hard-code which browser the request should be forwarded to.

0

I don't know of an officially supported way to do this, but if I really needed it done I would hack it together by detecting when Spaces changes spaces (hint, hint), and then change my default browser each time that happens.

  • Oho! I thought that there was no way to detect this! – chiggsy Feb 20 '11 at 6:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .