Wrong browser opens on Mac 10.12.5 (osascript bug) - Firefox, Chrome, etc

Thanks for the feedback everyone. It seems like either new behavior or a bug (my money is on a bug) in osascript in 10.12.5. I will continue digging…

For reference, other applications seem to open default browser links correctly. Mail, for example, sends me to chrome when I open a weblink.

This is reported to be a bug in osascript, introduced in 10.12.5. We may need to wait for a fix from Apple. Barring that we will see if there is a workaround.

Just adding a ‘me too’ to the FF bug with OSX 10.12.5

Same issue here, please let me know when there is a fix!

Thanks!

Mike

This is reportedly fixed in MacOS 10.12.6 which I expect should be released in about 5 weeks, given their typical update schedule of ~60 days.

Same problem here. I thought it was just me but after it continuing for weeks, I finally decided to look into my settings to fix the issue. That’s when I found this thread. I guess I feel a little better knowing it’s a software issue and there is supposed to be a fix coming. Fingers crossed the help comes sooner than later. Thanks for starting and contributing to this thread all~

Same issue here, however python -c "import webbrowser; webbrowser.open('https://www.odrive.com');" performs as expected, and opens my default browser.

Accessing anything from the odrive menubar or context menu that initiates a browser window will always open with Safari.

~> perl --version

This is perl 5, version 24, subversion 1 (v5.24.1) built for darwin-thread-multi-2level

~> echo 'open location "http://odrive.com"' | osascript
0:33: execution error: "http://odrive.com" doesn’t understand the “open location” message. (-1708)

Hardware Overview:

  Model Name: MacBook Pro
  Model Identifier: MacBookPro12,1
  Processor Name: Intel Core i7
  Processor Speed: 3.1 GHz
  Number of Processors: 1
  Total Number of Cores: 2
  L2 Cache (per Core): 256 KB
  L3 Cache: 4 MB
  Memory: 16 GB

Software:

  System Software Overview:
  System Version: macOS 10.12.5 (16F73)
  Kernel Version: Darwin 16.6.0
  Boot Mode: Normal

Me too! Can you fix it before the next Apple update? That’s a long time to wait.

Hi @greggoodman80,
It should only be about 3 weeks. I know its a pain, but we would rather wait for the official fix rather than patching in a workaround.

I’m also having the same issue! It opens Firefox instead of Chrome. I guess we will wait for the new update!

I have same issue. Firefox instead of Chrome. If I remove Firefox, the Safari will instead of Chrome.

MacOS 10.12.6 has been released and should address this issue.
https://support.apple.com/kb/DL1930

1 Like

I can confirm this is solved in MacOS 10.12.6 :slight_smile:

1 Like

Same issue here, odrive opens firefox even though chrome is my default browser. I’m using MacOS Sierra 10.12.5. Any ETA on a fix?

Ok never mind the update to 10.12.6 fixed it for me.

1 Like

Guys, whenever i click a file from Finder it opens Firefox, if i delete firefox it open Safari when Chrome is my default browser, you really need to fix this as it’s ridiculous you charge me for this and you can’t even default to the correct browser. Sort it out.

Hi @savvasfellas3,
Please see the above posts. This was a MacOS bug that Apple fixed in 10.12.6. Can you make sure you have updated to 10.12.6?
https://support.apple.com/kb/DL1930

When I open announcements or user guide it always opens in Firefox even though Apple > Systems Preferences > General > Default Browser is set to Chrome and all other apps that trigger urls open Chrome. How do I fix this?

Hi @p_ingram3541,
Please take a look at the above posts. This was a MacOS bug that Apple fixed in 10.12.6. Can you make sure you have updated to 10.12.6?
https://support.apple.com/kb/DL1930

1 Like