Apple - How do I open Google Chrome in Incognito mode by default

This can be achieved with the following in script editor:

do shell script "open -a /Applications/Google\\ Chrome.app --args --incognito"

Save it as an application, throw the alias in the dock. Tested this in 10.6.8.

Only works if you don't have chrome open already.


Another workaround:

mode (text) : Represents the mode of the window which can be 'normal' or 'incognito', can be set only once during creation of the window.

tell application "Google Chrome"
    close windows
    make new window with properties {mode:"incognito"}
    activate
end tell

Zdne has written a nice way to do this that works even if you've already got Chrome open:

if application "Google Chrome" is running then
    tell application "Google Chrome" to make new window with properties {mode:"incognito"}
else
    do shell script "open -a /Applications/Google\\ Chrome.app --args --incognito"
end if

tell application "Google Chrome" to activate

Save that as an Automator application using a Run Applescript block and you can run it from Spotlight using the name you gave the application.

Screenshot of Spotlight with a search for "incognito" on display