This extension keep last two tabs to prevent Chrome quits when last tab is closed.
Keep Last Two Tabs Extension
This is a silly extension. It's made to prevent Chrome quits when you close last tab. But it's not really work as you may expect. It keeps you Chrome has at least two tabs. Because *intercepting* last tab closing is not possible without JavaScript injection into webpages, therefore this is one possible way to get around.
Options:
* Automatically select newly created tab.
* Automatically pin newly created tab when there is no pinned tabs. (v0.4.1+)
* Automatically close New Tab tabs after opening a new tab.
* Open custom page. (v0.5)
* Support Chrome Sync. (v0.6)
This extension is an Open Source project, licensed under the MIT License. You can find it via Website link.
*** Note: I don't read reviews, if you have problem with KLTT, report via Support link ***
Read more
Options:
* Automatically select newly created tab.
* Automatically pin newly created tab when there is no pinned tabs. (v0.4.1+)
* Automatically close New Tab tabs after opening a new tab.
* Open custom page. (v0.5)
* Support Chrome Sync. (v0.6)
This extension is an Open Source project, licensed under the MIT License. You can find it via Website link.
*** Note: I don't read reviews, if you have problem with KLTT, report via Support link ***
Source Manifest.json
{"update_url":"http://clients2.google.com/service/update2/crx", "name": "Keep Last Two Tabs", "version": "0.6", "description": "This extension keep last two tabs to prevent Chrome quits when last tab is closed.", "icons": { "16": "icon16.png", "48": "icon48.png", "128": "icon128.png" }, "background": { "scripts": ["background.js"] }, "options_page": "options.html", "permissions": [\t "tabs", \t"storage"\t], "manifest_version": 2}
Read more