The program Edge browser will soon warn you if you go to close multiple tabs to avoid unwanted accidents.
Microsoft doesn't want them users of Edge to get frustrated when they accidentally close their tabs. Currently, if you press the Alt + F4 keyboard shortcut or press the window's exit button, Microsoft Edge or Chrome will simply close without warning.
Unwanted browser output is not the best, especially when you have opened many important browser sessions. Fortunately, Microsoft is now working on a solution to protect you from any unwanted accidents.
According to experimental flags found in Canary editions, you will soon be able to activate it protection tabs in Microsoft Edge so you can catch your mistake before Windows or macOS closes the browser.
Basically, you just need to go to the Microsoft Edge settings and enable the “Ask before closing multiple tabs” option, as shown in the screenshot below screens.
Once your command to close the entire window is activated, Microsoft Edge will display a pop-up warning when you try to close multiple active tabs.
There will be two options. "Close all" to exit the browser and "Cancel" to continue using the browser. You can also select "Do not ask me this question again" in the pop-up window to turn off this feature without opening the Edge Settings page.
The Microsoft Edge solution is sleek and will not warn you when you have only one tab open. The warning only appears when you have several tabs open.
If you want to try the feature right now, install Edge Canary and enable the experimental flag labeled “Ask Before Closing Multiple Tabs”.
This feature is expected to reach firm versions of Microsoft Edge early next year and will save you valuable time if you are prone to closing your tabs incorrectly.