Don't Close Window With Last Tab

Don't Close Window With Last Tab

Prevent closing of Google Chrome with the last tab, the least intrusive way.

Don't Close Window With Last Tab promo image
What is Don't Close Window With Last Tab?

"Don't Close Window With Last Tab" is a non-intrusive Chrome extension designed to prevent accidental browser closure. This is achieved by keeping a pinned page which appears only when all other tabs in a window are closed. Uniquely organized not to clutter the tab bar, this extension effectively handles tab movements across windows, and its settings can be modified to fit user preferences. Detailed open source code available at:

Stats date:
Version: 0.11 (Last updated: 2022-06-05)
Creation date: 2017-09-05
Manifest version: 3
  • tabs
  • storage
Size: 18.48K
Email: Click to see
Risk impact: Moderate risk impact
Risk likelihood: Very low risk likelihood

Other platforms

Not available on Firefox
Don't Close Window With Last Tab
Don't Close Window With Last Tab (v0.9.6)
4.30 (39) 43,981

This extension keeps a single pinned page to prevent closing Chrome 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:

User reviews
User reviews summary
These summaries are automatically generated weekly using AI based on recent user reviews. Chrome Web Store does not verify user reviews, so some user reviews may be inaccurate, spammy, or outdated.
  • Works perfectly for some users
  • Useful tool that was exactly what some users were looking for
  • Previously worked flawlessly
  • Stopped working for many users on different versions of Chrome
  • Issues with extra new tab opening
  • Doesn't work when more than one Chrome window is open
Most mentioned
  • Stopped working
  • Issues with the new tab opening when it shouldn't
  • Used to work great, but recently stopped
  • Waiting for updates or fixes
  • Effective and useful when it functions properly
View all user reviews
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 extension. Review carefully before installing.

Risk likelihood

Don't Close Window With Last Tab has earned a good reputation and can be trusted.

Upgrade to see risk analysis details
Promo images
Don't Close Window With Last Tab small promo image
Small promo image
Similar extensions

Here are some Chrome extensions that are similar to Don't Close Window With Last Tab: