Today, we will see how to make Google Chrome ask before quitting. The default behavior of this browser may be a bit annoying for the user, since it can be closed accidentally. Let's change this and make it show a warning before you close it.
Google Chrome is known for not having a confirmation option when exiting the browser under Windows. It is really strange, because under macOS, the appropriate option is available right in the app menu. But what about the Windows version? For some reason, developers haven't included it.
It is very easy to close the Chrome browser accidentally with one wrong mouse click or with the Ctrl + Q keyboard shortcut. If this happened to you, do not panic. The next time you open Chrome, press the following sequence on your keyboard: Ctrl + Shift + T. This will restore your tabs from the last browsing session.
Make Google Chrome Ask Before Quitting
Now, try to close the Chrome browser. The result will be as follows:
You can add this page to your home pages so it will be loaded automatically or pin the tab with the page. The main idea is to keep this page opened in your browsing session, so you won't close the browser accidentally any more.
If you are not happy to pin an external web page or press hotkeys, you can do the following. It is possible to set the Chrome browser to restore previously opened tabs automatically. Here is how it can be done.
This will restore your previous tabs the next time you open Google Chrome.