In my typical work day, I keep a lot of browser tabs open in the background. MacStories articles, links from Google Reader, Twitter, Reddit and many others are always sitting there in the browser, which is an essential tool in my workflow. Perhaps the most important one. So when I accidentally hit CMD+Q instead of CMD+W and I lose the contents of an article I’m writing in my online visual editor, I usually would like to smash my computer’s keyboard. It actually never happened (otherwise I wouldn’t be here typing on this keyboard), and luckily for me it looks like such a situation won’t ever take place thanks to a subtle, yet life-saving feature implemented in the Dev version of Google Chrome: quit warning.
Enabled by default in the early dev versions (latest one is 11.0.696.14) and now available as an option in Chrome’s settings, the quit warning works a little bit different from what you’d expect: instead of putting a dialogue box up on the screen that asks you “if you really want to quit”, Google thought that it’d be best to implement a system that would prevent accidental clicking of CMD+Q. So instead of just hitting the shortcut to quit Chrome, you have to click & hold CMD+Q for a few seconds. Pure genius: this way, if I accidentally hit “Q” instead of “W”, my browser won’t quit.
To enable the feature, type “about:flags” (without quotes) in the Chrome Omnibox and activate “Confirm to Quit. Enjoy.