Overview
Creates a New Tab when you are at your last tab to prevent the window from closing.
A lightweight extension that prevents Chrome from closing when the last tab is closed. It uses the naive and very simple method of opening a new tab when there is only one tab left. Another way to look at it is that it try to ensure that there are at least 2 tabs. Features event page to ensure that it unloads when not needed. No options and nothing flashy to warrant a screenshot :P Making this extension as simple as possible. Decided to make this as Chrome Toolbox doesn't work anymore on recent Chrome versions. ================= CHANGELOG: 0.95 [04/04/2021] - remove 'tabs' permission as its not necessary 0.94 [31/05/2014] - set the active tab back to the first tab - remove use of deprecated property 0.93 [22/04/2014] - changed a deprecated api call - hopefully fix unclosable main Chrome window if theres a Chrome app loaded as a separate window 0.92 [22/12/12] - changed the delay method of the timer 0.91 [28/11/12] - added a delay to the tab creation method 0.90 [26/11/12] - first version ================= KNOWN BUG (probably fixed): As the function that creates the new tab locks for about 1 second to alleviate the problem of multiple new tabs opening on operations like using 'close tabs to the right' on a large number of tabs: - there may be times where the new tab does not show up (e.g fast closing of tab, faster than 1 second when the function is still locked) or - there may be times when more than one new tabs show up (e.g using 'close tabs to the right' on a large number of tabs, slower than 1 second thus triggering the function again).
LucaFeb 17, 2022
Works fine, could you post the code on GitHub? I would like to create such an extension :)
NewtomicSep 16, 2021
I'm sorry but this Extension doesn't do what it says "Creates a New Tab when you are at your last tab to prevent the window from closing.", instead it maintains 2 tabs open in any window at all times, it's just a bad workaround/hack to the problem, not a real solution.
Mojtaba VahdatiDec 4, 2020
It keeps "two" new tabs open and it's annoying. I expected only "one' tab to remain open when I didn't need any tabs.
Details
- Version0.95
- UpdatedApril 5, 2021
- Size5.25KiB
- LanguagesEnglish
- DeveloperWebsite
Email
bland.life+dev@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes