
(If you do not see the icon, skip to step 3) note: you must be logged into gmail and have the gmail tab opened to see this icon 2.Looking to change your default browser on your Mac? On the right side of your address bar there will be a gray double diamond icon, called the ' protocol handler icon'. Setting Gmail as the default mail client in Chrome. Note: You must be using google chrome on your mac. Once set, this will open Gmail with the to: address set to the contact that you would like to send the email to, while on your Mac.
#Set web browser for mac email to open how to
In this article, I will explain how to set your default email to Gmail on your mac for the purposes of clicking on weblinks that open email addresses. If its not blank, use whatever bundle identifier was returned with an open -b. If its blank, use a normal 'open' command and don't specify the browser. Meaning, read the users default settings from ist for html documents. If that's the case, a simple if/then check should help. What I would try is, using Casper Remote on the Macs that had that failure, send this to them in the Advanced > Run Command field and look at the logs afterwards- defaults read /Users//Library/Preferences/ Replace with the logged in user of course I'd be interested to see what's returned, or if there's actually a section for 'LSHandlerContentType = 'public.html' If there isn't then it might mean nothing has been explicitly set in the user space, and the OS is just using its own defaults.

If it returned an empty string the open command assumed you were trying to use your intranet site as the Bundle Identifier. So, because the script is trying to determine the bundle identifier for something not actually set it would error. I'm not 100% sure, but I believe the setting in the plist we're targeting may not exist until you actually go into say, Safari's preferences and set a default browser. Why is this simple 'open' command opening Safari? What I suspect may be happening there is, those users don't actually have a default browser set in their ist.

This is not on just one system– it is across multiple systems that have been verified to have Firefox or Chrome set as the default browser. For those that use Firefox or Chrome, this is an annoyance. The problem is that we don't want it to open Safari, we want it to open in the users' default browser. This isn’t your grandfather’s snow, and it’s going to hurt when it makes impact. Perhaps one of the biggest threats to life and livelihood when playing in the Aether is the presence of snowballs that mysteriously get hurled from clouds in the sky. To minimize disruption, we created a policy to open the page in their default browser that runs once per day, at login and it is one simple line: $3 open Almost works perfectly Safari opens to this page at login once every day. Related, but backwards We have an intranet page that we have to open for our users once per day (at login), per management. Appreciate any help/guidance on this - thank you. I've tried to create a basic if else script (SEE BELOW) to accomplish this and pushed it out to several machines, however, it's not quite working - when I click on those certain links, they still open in Safari (THE DEFAULT BROWSER) as opposed to Chrome.

Hello All, I'm looking for a script or any other method that when users click on certain links (either from within an e-mail, Word doc, etc.) those certain links would open in Chrome REGARDLESS OF THE DEFAULT BROWSER setup for that user. Choose your web browser from the ”Default web browser” pop-up menu. Choose System Preferences from the Apple () menu. Change the default browser or email client on your Mac.
