I use Fluid.app for particular websites, such as a bug tracker, or a Wiki. However, when I receive notifications in an e-mail with that URL and click on it, I'll get the page opened in the default browser.

Is there a way to open a website in the Fluid.app instead?

P.S.: I have looked at RCDefaultApp, but could not find a way to do this.

up vote 10 down vote accepted

I had the same problem and wrote a little AppleScript to handle this. You can find the app here: https://github.com/biafra23/Default-Fluids

You need to make this script your default browser. This can be achieved with Safari: Menu -> Safari -> Preferences -> General -> Default web browser

The source is in https://github.com/biafra23/Default-Fluids/blob/master/default_browser.app/Contents/Resources/Scripts/main.scpt

It contains sections like this:

if this_URL contains "facebook.com" then
  tell application "/Applications/Fluids/facebook.app"
    open location this_URL
  end tell
else if 
  -- default browser here
  tell application "/Applications/Firefox.app"
    open location this_URL
  end tell
end if

You need to make changes to those according to your setup with the AppleScript Editor.

It is not as convenient as choosyosx but its free.

  • Danke Dirk, for sharing!. This works great and is just what I needed. – Kaj Kandler Jul 23 '12 at 12:53
  • I found put today that VLC 2.0.2 can open youtube urls (as long they are not https). You can have vlc open youtube.com/watch urls. – Dirk Jäckel Jul 31 '12 at 20:50
  • Small warning here - this script will break the default OS opening of .html files or any link that starts with file:///. Dropbox contextual menu functionality and other things that rely on local links may break as a result. – timshutes Nov 4 '14 at 16:33

Developer of Fluid here. The only way I know of to do this is with an additional utility like Choosy or Browser Fairy (app store link).

  • 1
    +1 for Choosy. I use it to direct links to Facebook, Jira, Google Reader and more to Fluid apps. Choosy lets you create rules for URLs that get passed to the selected Fluid instance. You can also select a default browser for links that don't match a rule, or have it pop up a list of browsers for you to choose from. – BiL Castine Jul 31 '12 at 21:37
  • 1
    It's been almost three years since this came up, and Choosy no longer seems to be supported by its developer. – Jerry W. Feb 5 '15 at 15:02
  • 1
    @jer-el: Browser Fairy (App Store link) is not free, but seems to do the job (and was last updated in March 2015). – hairboat Apr 7 '15 at 4:29

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.