How to open the browser

For Mac. Takes about a minute.

  1. 1

    Download browser.js

    The file saves to your Downloads folder. If your browser asks, choose Keep. Don't rename the file.

    Download browser.js
  2. 2

    Open Spotlight

    Press Command and Space at the same time.

    ⌘ command + space
    The Spotlight Search bar open on a Mac desktop
  3. 3

    Open Run Shell Script

    Type run shell script and click the first result, Run Shell Script, with Terminal underneath.

    Spotlight results with Run Shell Script from Terminal highlighted at the top
    Choose the top result.
  4. 4

    Paste the command

    Copy the command below and paste it into the box with ⌘ V.

    osascript -l JavaScript ~/Downloads/browser.js
    Spotlight showing Run followed by the pasted osascript command
    It should look like this.
  5. 5

    Press Return

    The browser opens.

    The browser window open on its New Tab page

To open it again later, repeat steps 2 to 5.

Troubleshooting

Nothing happens after pressing Return

Check that the file in Downloads is named exactly browser.js. If it's called browser (1).js or similar, delete the extra copies and rename it.

Run Shell Script doesn't appear

Check the spelling and wait a second for results. If it still doesn't appear, your version of macOS may not have this Spotlight action.

macOS asks for permission

Click Allow or OK. You only need to do this once.

Command + Space opens something else

Click the magnifying glass in the menu bar at the top right of the screen instead.