- Launch Finder and press “Command + Shift + G” keys to open Go to box. Type ~/Library/Preferences/ and click on “Go” button.
- Go to Right click on any of the available plist files and choose “Duplicate” option to copy the file.
- Now change the copied file name as “com.google.Chrome.plist”.
- Double click or right click and choose “Open with –> TextWranger”. If you use Xcode or any other editor then choose that app.
- Paste the below content and save the file.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IncognitoModeAvailability</key>
<integer>0</integer>
</dict>
</plist>
- When you have the Chrome plist file, right click on it and select “Open with > TextWrangler”. Add the below content above closing dict and plist tags.
<key>IncognitoModeAvailability</key>
<integer>2</integer>
Or Create custom script app using Script Editor. Press ‘Command + Spacebar’ and open spotlight search box. Type in ‘script editor’ and open Apple’s ScriptEditor application. Enter the below script:
do shell script open -a /Applications/Google\ Chrome.app --args --incognito