There were a couple of times when I got so annoyed with the automatic closing the Chrome web browser when I accidentally clicked on the X button. Actually it is quite unusual to accidentally click on the X button when it is located at the most top right of the window but it happened to me when I was trying to close a program that is on top of Chrome. The program did not get terminated after pressing Alt+F4 or clicking on the X button so I ended up doing it a few more times and when it did happen, it ended up closing the program that is just behind of the program that I was trying to close.
Firefox, Internet Explorer, Safari and Opera natively supports the feature to warn the user when trying to close the browser with multiple tabs opened but oddly Chrome doesn’t come with this feature. Although we can configure Chrome to “Reopen the pages that were opened last” or click on the “Recently Closed” link located at the bottom right of a new tab, it is still troublesome because some webpages cannot be restored and requires to relogin. A simple warning prompt would be much more efficient instead.
Warn before closing feature is enabled by default in Firefox, Internet Explorer and Safari. Opera supports this as well but requires a simple configuration by pressing Ctrl+F12 > Advanced > Browsing > and check on the Confirm Exit option. The Confirm Exit option in Opera is a bit different when compared to IE, Firefox and Safari because it gives you 20 seconds to cancel the action no matter if you have one or multiple tabs opened.
As for Chrome, fortunately you can have this feature by installing Chrome Toolbox extension created by Google! After installing this extension, closing Chrome with multiple tabs open will give you a second chance to cancel the action with a warning popup asking “Do you want to close all tabs?“.
If you’ve accidentally checked Do not warn when closing multiple tabs, you can easily re-enable it back by clicking on the Chrome Toolbox icon, go to Options and check “Confirm before closing multiple tabs” from the General tab. Other than this, Chrome Toolbox also comes offers other useful features such as a floating toolbar when the mouse pointer hovers over an image or video, saving form data, quick launch, review shortcuts and menu, and etc.
There is another extension by the name of “close…NOT” 1.0 which is suppose to add confirmation box when closing tab or window but it doesn’t seem to work when tested on the latest Google Chrome 18.