Creates a new window with the same properties as the closing one when the last tab is closed.

Latest Version

Version
1.0.0
Update
March 31, 2023
Size
30.88KiB
Developer
Category
Users
586
Rating
2.8 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Background
See more

Do not close browser with last tab Extension

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.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "author": "Sebastian Blask", "background": { "scripts": [ "background.js" ] }, "description": "Creates a new window with the same properties as the closing one when the last tab is closed.", "homepage_url": "https://github.com/sblask/webextension-do-not-close-browser-with-last-tab", "icons": { "128": "icon-128x128.png", "16": "icon-16x16.png", "32": "icon-32x32.png", "48": "icon-48x48.png", "64": "icon-64x64.png" }, "manifest_version": 2, "name": "Do not close browser with last tab", "offline_enabled": true, "permissions": [ "background" ], "version": "1.0.0"}
Read more

Similar Extensions

User reviews

icon

Тайна В тумане (ID: 00000058886d0a87) Voted 1 ★ - Updated 05/25/2023 закрывает окно после закрытия последней вкладки

icon

Dr Luxxanna (ID: 0000007df56c5ff0) Voted 5 ★ - Updated 04/23/2021 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)

icon

(ID: ) Voted 1 ★ - Updated 08/19/2018 Nem működött, az utolsó fül bezárásával a böngésző is bezáródott.

icon

Максим Мединский (ID: 000000d196b530f6) Voted 3 ★ - Updated 08/02/2018 При закрытии последней вкладки - новое окно открывается не на весь экран.

icon

Dreamhaunt (ID: 000000b56ecc6ee2) Voted 5 ★ - Updated 05/09/2018 Best among the last tab extensions and I've used almost all of them so far