Creates a new window with the same properties as the closing one when the last tab is closed.
Do not close browser with last tab
==================================
Chrome usually shuts down when its last tab is closed. This extension creates a
new window with the same properties as the closing one when this happens. You
might get a flicker, but the perceived effect will be that a new tab replaces
the closed one.
As there is neither a way to capture the window properties while the tab is
closing nor an event that informs about updates to the properties, they are
cached whenever the focus of the window or a tab changes (which includes
creating new windows and tabs).
This extension only works if the `Continue running background apps when
Chromium is closed` setting (under `Advanced`) is enabled (it is by default).
Known Issues
------------
XFCE: The properties of non-maximized windows given by Chrome are incorrect as
they do not account for border and title bar. This results in a displacement
when the window is re-created.
Feedback
--------
You can report bugs or make feature requests on
https://github.com/sblask/webextension-do-not-close-browser-with-last-tab
Patches are welcome.
Latest reviews
- (2023-05-25) Тайна В тумане: закрывает окно после закрытия последней вкладки
- (2023-04-09) Varniit Professional: Consider adding something like a user approval before closing or exiting (either manually or accidentally) of the browser esp for chrome as other browsers like edge, brave, opera and maxthon ask for users before closing the browser. If you could something as stated through this addon, it will be wonderful for users like us who close the chrome browser accidentally several times (doesn't happen same with edge or opera) and some forms and tabs are lost due to it.
- (2021-04-23) Dr Luxxanna: I tried some extensions to prevent Chrome closing last tab it's the best one —————————— not working after Microsoft Edge updated to Version 90.0.818.46 (Official build) (64-bit)
- (2018-08-19) Nem működött, az utolsó fül bezárásával a böngésző is bezáródott.
- (2018-08-02) Максим Мединский: При закрытии последней вкладки - новое окно открывается не на весь экран.
- (2018-05-09) Dreamhaunt: Best among the last tab extensions and I've used almost all of them so far