Tuesday, February 21, 2012

Disable Google Chrome Developer Tools

Finally, I found a way to disable google chrome developer tools. I need it because I have some browser based application that I need to deploy, and google chrome is really suitable for my need. The only thing that prevented me doing so is the dev tools. I don't want user to play around with the dev tools, do some hacking and stuff. No way!
Now, here is how to disable devtools:
Edit ~/.config/google-chrome/Default/Preferences
On Mac OSX: ~/Library/Application Support/Google/Chrome/Default
Add "disabled": true to the "devtools" key, so it becomes like the following:
"devtools": { "disabled": true, "split_location": 256 }
Save it, and restart browser. Done!
Here is where I originally found the solution.