Prevent Tab Closing Extension.

What is this about.

Prevent Tab Closing.

This extension prevents unexpected tabs closing in browser.

Browser will ask ‘Are you sure?’ before leaving the page or closing the tab. Forget about losing data in case of accidental browser closing.


Preventing using popup


Video Example:


You may Turn ON / Turn OFF it easily using Enable / Disable Button.

It will work on all pages in any tabs or on some specific URLs that you may specify in the Extension UI.

URL Regex Examples.

More info about Regex:


Google Chrome Extension: Install

Source Code: Review


And it’s absolutely safe. Source code is OpenSource.