Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Confirm to Quit Google Chrome Web Browsers
There are times when you hold Command+Q when you actually wanted to hold Command+W and all your tabs are gone and its really frustrating because Chrome doesn't ask you for a confirmation. Luckily Chrome has finally added this feature but you need to enable it first.

You can enable this feature by:
  • Going to about:flags.
  • Looking for 'Confirm to Quit' then click 'Enable.'
  • Then restart Chrome.
Now when you hold Command+Q you will get a bubble message that says 'Hold Command+Q to Quit.' Hold Command+Q again and Chrome will quit.

This feature doesn't apply if you click on 'Quit Google Chrome' from the menu bar.

This was tested on Chrome version 10.0.648.151.

[crarko adds: I tested this, and it works as described. Same version of Chrome as the author.]
    •    
  • Currently 3.00 / 5
  You rated: 1 / 5 (6 votes cast)
 
[21,407 views]  

Confirm to Quit Google Chrome | 3 comments | Create New Account
Click here to return to the 'Confirm to Quit Google Chrome' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Confirm to Quit Google Chrome
Authored by: raveen69 on Mar 21, '11 08:27:03AM

I saw this a few weeks ago on the Dev build without having to enable it.
Works great and saves the frustration of mis-guided shortcuts.



[ Reply to This | # ]
Confirm to Quit Google Chrome
Authored by: tinb on Mar 21, '11 08:56:40AM
There is also a "commandline" way of doing this, and it is much more versatile. With this command you set Command-Shift-Q to "Quit Google Chrome".
defaults write com.google.Chrome NSUserKeyEquivalents -dict-add 'Quit Google Chrome' '@$Q' 
I have set this for Safari as well as for Mail, and ....
defaults write com.apple.Safari NSUserKeyEquivalents -dict-add 'Quit Safari' '@$Q' 
defaults write com.apple.Mail NSUserKeyEquivalents -dict-add 'Quit Mail' '@$Q' 
You have to find out the app's identifier and the exact wording of the Quit menu, then you're lucky. Please quit the respective app before running the command. This hint was already posted in 2003 in a slightly different syntax.

[ Reply to This | # ]
Confirm to Quit Google Chrome
Authored by: oliverseal on Jul 19, '11 09:18:21AM

For anyone looking for this in Chrome 12, it's no longer an "experimental feature" so it's not in about:flags.
If you click on the Chrome menu, you'll see a "Warn Before Quitting". Click it to enable.
(Much easier than the previous required method of flag-editing.)



[ Reply to This | # ]