Prevent Tab Closing

Prevents tabs from closing unexpectedly. Using dialog 'Are you sure?'

Extension stats

This extension was removed from Chrome Web Store on 2022-03-24
Users: 664
Rating: 2.86 (7)
Version: 0.0.2 (Last updated: 2021-03-02)
Creation date: 2020-11-06
Risk impact: Low risk impact
Risk likelihood: High risk likelihood
Manifest version: 2
Permissions:
  • storage
Size: 40.07K
URLs: Website

Other platforms

Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.

Extension summary

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.

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

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

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

Video Example: https://drive.google.com/file/d/1z94MbSk5zt6HdXDB9YgKLnAK9efxVldg/view

URL Regex Examples.

  • Example #1. Ask on all websites: ".*"
See more

User reviews

Seems to work fine once I clicked on Enable and typed in the URL to lock. Not exactly intuitive but it does exactly what I want so thanks for making it available!
by Philip Buonomo, 2021-12-24

Did not work for me
by Andrej Adamenko, 2021-09-30

Either this extension doesn't work at all, or its UI is so unintuitive that I don't know how to use it. It's unclear whether the regex is required, or if a blank regex is as good as '.*'. It's also unclear whether the extension has accepted, or is acting upon, the input expression. The 'save' button is gray, implying that there are unmet conditions for entering the expression, and when you click it, the value entered doesn't go anywhere. Whether enabling with no expression, entering an expression of '.*', or writing an expression to explicity match a certain URL, the extension has not warned me before closing the tab.
by David Wadham, 2021-07-15
View all user reviews

Extension safety

Risk impact

Prevent Tab Closing requires very minimum permissions.

Risk likelihood

Prevent Tab Closing may not be trust-worthy. Avoid installing if possible unless you really trust this publisher.

Upgrade to see risk analysis details

Promo images

Prevent Tab Closing marquee promo image
Marquee promo image
Prevent Tab Closing small promo image
Small promo image

Similar extensions

Here are some Chrome extensions that are similar to Prevent Tab Closing: