在Mac上设置默认浏览器

I like using edge browsers each day so that I'm aware of what features my website visitors will be seeing down the road, and to get an early glimpse at new browser and API features.  I prefer to do my basic browsing in Chrome Canary and my developing in Firefox Nightly.  Since I do more browsing than developing (i.e. checking email, researching coding techniques, writing, etc.), I wanted to make Chrome Canary my default browser, but when I click the button to do so, nothing happens.  WTF?!

我喜欢每天使用边缘浏览器,这样我就知道网站访问者会使用哪些功能,并且可以一眼便能了解新的浏览器和API功能。 我更喜欢在Chrome Canary中进行基本浏览,而在Firefox Nightly中进行开发。 由于我进行的浏览比开发工作要多(例如检查电子邮件,研究编码技术,写作等),因此我希望将Chrome Canary设置为默认浏览器,但是当我单击该按钮时,没有任何React。 WTF ?!

Well, there's a way to make it happen...but you need to use Safari to do it.  How's that for a hack?!

好吧,有一种方法可以实现它... 但您需要使用Safari来完成。 那是怎么回事?!

在Mac上设置默认浏览器

Safari's preferences pane has a "Default Web Browser" dropdown for which you can set the default browser.  Each of the browsers you have on your system will display in the dropdown.  Going to another browser to set a different browser as the default?!  Whatever, it works.

Safari的首选项窗格有一个“默认Web浏览器”下拉菜单,您可以为其设置默认浏览器。 您系统上的每种浏览器都将显示在下拉列表中。 要转到另一个浏览器以将其他浏览器设置为默认浏览器吗? 无论如何,它都可以。

Safari's preferences no longer allow you to select a default browser from dropdown but Mac's System preferences do! Navigate to "System Preferences" > "General" and you'll see a "Default Web Browser" label with a dropdown of the system's available browsers:

Safari的首选项不再允许您从下拉列表中选择默认浏览器,但Mac的System首选项可以! 导航到“系统偏好设置”>“常规”,您将看到“默认Web浏览器”标签,其中包含系统可用浏览器的下拉列表:

在Mac上设置默认浏览器

I'm super pleased that Mac allows me to set Chrome Canary as a default browser despite Google not wanting to allow it. User choice rules!

我非常高兴Mac允许我将Chrome Canary设置为默认浏览器,尽管Google不想允许它。 用户选择规则!

翻译自: https://davidwalsh.name/chrome-canary-default