Disable viewing or require password to access Google Chrome History

Often, because of various reasons (mostly to show other people a webpage to view or edit on which requires some sort of setup or login), I need to give people physical access to my fully unlocked laptop. That means they can see my browsing history, and I don't want that to happen due to privacy reasons. I already have a script that allows me to stop the Dock process (thereby eliminating the ability to navigate to other applications except the current one), so other application is not a concern. How can I temporarily disable access to view history or protect it with password without having to restart Google Chrome?


Solution 1:

The easiest way to keep your browser history (and everything else) to yourself is to either enable the Guest account or setup a "throwaway" account on your Mac and then use Fast User Switching to change accounts whenever somebody wants to use a browser quickly.