Creating a Dock Icon that Opens Google Chrome on Mac

I use the following instructions to create a shortcut or symlink to a specific URL in a specific browser. This is useful when a website only works in Google Chrome, since I use Firefox as my default browser.

  1. Open the Script Editor from Applications, Utilities
  2. Copy the code listed below into the editor
  3. Select File, Export from the menu
  4. Select Application as the File Format
  5. Save it into your Applications folder
  6. Drag the application to your Dock
  7. Optionally, change the application icon
tell application "Google Chrome"
activate
open location "https://zoom.us/join"
end tell

References