Don't Close Window With Last Tab
Prevent closing of web browser with the last tab, the least intrusive way.
What is Don't Close Window With Last Tab?
'Don't Close Window With Last Tab' is an Edge add-on designed to prevent the accidental closing of your browser by maintaining a single pinned page when all other tabs are closed. This ensures your browsing session continues uninterrupted. The add-on is non-intrusive, only inserting the pinned page when necessary, and maintains a clean interface. Additional settings can be configured in the 'Options'. Check out the open-source code on GitHub.

Stats
- tabs
- storage
ChromeStats Rank

Summary
This extension keeps a single pinned page to prevent closing web browser when the last tab of the last window is closed (or every window, it's configurable). To keep the tab bar clean (unlike other extensions), the pinned page is inserted only when absolutely necessary. It also handles well cases when tabs are moved between windows.
"Don't Close Window With Last Tab" provides no user interface or interaction for users. It only lets users configure additional configuration in "Options".
This extension is open source, to be found at: https://github.com/moneytoo/DontCloseWindowWithLastTab
User reviews
User reviews summary
Pros
- Prevents unintentional browser closures
- Helps users prevent time waste on re-entering passwords
- Great for users habituated to closing tabs with Ctrl + W
Cons
- Interferes with pinning tabs
- Impairs functionality of Distill Web Monitor extension
- Causes issues with browser cache
Most mentioned
- Pinning tabs issue
- Closes when last window is closed
- Cache problems
Safety
Risk impact
Don't Close Window With Last Tab may not be safe to use and it requires some risky permissions. Exercise caution when installing this add-on. Review carefully before installing.
Risk likelihood
Don't Close Window With Last Tab has earned a fairly good reputation and likely can be trusted.