News for hackers. Stuff that matters.
Re:Count to ten when a plane goes down by jessaustin on Monday July 21, 2014 @08:37PM (#8066869)
...the whole window with ctrl+q.

OMG I've never done that but now that I know about it I'm very afraid. If I do it tomorrow I'm blaming you.

Re:Count to ten when a plane goes down by sushid on Monday July 21, 2014 @09:10PM (#8066979)
Thankfully, Chrome has a built-in feature to prevent this from happening (on OSX at least). Just go to Chrome > Warn before Quitting and make sure there's a checkmark next to the option.

Now, if you accidentally press Cmd + Q, it should prompt a "Hold Cmd + Q to Quit" instead of actually quitting.

Re:Count to ten when a plane goes down by tremendo on Tuesday July 22, 2014 @12:26AM (#8067385)
Or, Settings > On Startup... "Continue where you left off". This will restore your tabs after launching Chrome.
Re:Count to ten when a plane goes down by Houshalter on Monday July 21, 2014 @11:10PM (#8067226)
I disabled that warning because it's annoying every time I want to close the browser, even without the dangerous keyboard shortcut. If it happens, you can go to the menu and find "recent tabs" or just ctrl+shift+t.
Re:Count to ten when a plane goes down by sp332 on Monday July 21, 2014 @09:52PM (#8067081)
If you do this in Firefox, you can go to History -> Restore previous session. This will bring up all the tabs you had open last time it quit.
Re:Count to ten when a plane goes down by viraptor on Monday July 21, 2014 @08:47PM (#8066904)
This helps: https://addons.mozilla.org/en-US/firefox/addon/customizable-...

Also, I made a mistake, it doesn't close the window. It closes all windows at once. Be afraid!

Re:Count to ten when a plane goes down by pooper on Monday July 21, 2014 @09:04PM (#8066950)
ctrl + q very appropriately quits the application. If this came as a ticket to me, I'd close it as working as expected.
Re:Count to ten when a plane goes down by djur on Monday July 21, 2014 @10:32PM (#8067144)
Traditionally applications have asked the user if they're sure they want to quit. That's a no-no these days, but it's still a reasonable choice in situations where the cost of quitting might be high (there's unsaved content, or the app takes a long time to start, or it's impossible to persist the current state of the application).

For some time, the Chrome team refused to implement a 'Sure you want to quit?' popup due to a general anti-popups consensus. They also refused to implement a checkbox to enable that behavior due to a general anti-configuration consensus. They've since relented on the latter.

Re:Count to ten when a plane goes down by pooper on Tuesday July 22, 2014 @06:25PM (#8071932)
Mozilla Firefox used to have a setting under options/preferences to disable loading images and loading javascript. People complained and said this should be removed as not enough people use it and that people who use it can create/use an add-on to do the same.

It is not easy to find a right balance between providing adequate functionality while avoiding information overload. The web is still evolving. We are learning and we will do better (overall) as time goes by. :)

Re:Count to ten when a plane goes down by SilasX on Tuesday July 22, 2014 @01:24PM (#8070262)
... and then you'd spin it off as a feature (or design review) request for better handling of accidental quit actions, right?
Re:Count to ten when a plane goes down by pooper on Wednesday July 23, 2014 @12:05AM (#8072867)
I like this idea. I will try to remember this because it is the perfect answer in situations like these...
Re:Count to ten when a plane goes down by nitrogen on Monday July 21, 2014 @10:37PM (#8067163)
Ctrl-Q typically preserves the session though, so all non-ajax sites will come back as they are, including partially filled forms.
Re:Count to ten when a plane goes down by Sami_Lehtinen on Tuesday July 22, 2014 @02:28AM (#8067617)
Yeah, if you don't care about privacy and save such data to disk as active session, active browser tabs, history, cookies, etc. Those should be RAM only for privacy reasons and never stored to any medium which can store those for extended periods.
Re:Count to ten when a plane goes down by LukeShu on Monday July 21, 2014 @10:54PM (#8067201)
I've done it enough times that I was finally motivated to figure out to set browser.showQuitWarning=true in about:config.
Re:Count to ten when a plane goes down by oakwhiz on Tuesday July 22, 2014 @12:23AM (#8067379)
The other reason I enable browser.showQuitWarning in Firefox is because you can Save and Quit instead of just quitting.