HOW TO: Automatic Start Safari in Private Browsing Mode (Mac Only)

safari private browsing modeMac OS X only: Tutorial to teach how to start Safari web browser in Private Browsing mode by default.

I use Google Chrome as my primary web browser and Safari to access my bank accounts. For security concerns, I would like to have “Private Browsing” mode by default when I launch Safari.

There is no option for auto private mode in Safari.

But, thanks to the Mac OS X’s Apple Script, we can write a script to instruct Safari to start in Private Browsing mode.

  1. Launch “AppleScript Editor” app found inside the “Utilities” folder under “Application” folder.
  2. Paste the following text in AppleScript Editor:
    tell application "Safari"
    end tell
    tell application "System Events"
    	tell process "Safari"
    	tell menu bar 1
    	tell menu bar item "Safari"
    	tell menu "Safari"
    	click menu item "Private Browsing"
    	end tell
    	end tell
    	end tell
    	end tell
    end tell
  3. Save the script as an application then use the application to launch Safari with Private Browsing enabled.

[via Macworld]


No comments yet.

Add a comment