For Mac OS X, how do you disable Incognito mode in Chrome? The desired result simply being that the user cannot browse in Incognito mode, even if they know the keyboard shortcut or something similar.
MacOS – How to disable Incognito mode in Chrome
google-chromemacosprivacy
Best Answer
The short answer: you must edit the preferences file so that the key
IncognitoModeAvailability
has a value of1
.Original Instructions
In
/Library/Preferences/
add a plist entry to the filecom.google.Chrome.plist
such that the key isIncognitoModeAvailability
and the value is1
.Here is an example: assuming the file
com.google.Chrome.plist
doesn't exist, use a text editor to save the following code:The full file name and path of the above should be
/Library/Preferences/com.google.Chrome.plist
.Updated Instructions
Since macOS Sierra, proper plist files seem to be in some binary format by default—a format that you can't edit with a normal text editor. I found that I can open them in Apple's Xcode and it has a nice GUI—very easy to edit. If you don't have access to Xcode, I think you can use the plutil terminal command like this:
In xml format, you should be able to edit it in a text editor, and a web site I read says that the xml format should work fine.
Regardless, I recently was able to disable Incognito mode using Xcode on the
~/Library/Preferences/com.google.Chrome.plist
file. (Furthermore, I had to delete/Library/Preferences/com.google.Chrome.plist
because my old version was deemed "corrupted" because it wasn't in a proper file format.)