Prevent Tab Closing

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

What is Prevent Tab Closing?

Prevent Tab Closing is a Chrome extension developed by https://shoshins.github.io/prevent-tab-closing, and its main feature is "Prevents tabs from closing unexpectedly. Using dialog 'Are you sure?'".

Extension Screenshots

screenshot
screenshot

Download Prevent Tab Closing Extension CRX File

Download Prevent Tab Closing extension files in crx format, manually install Chrome extensions in the browser, or share the crx files with friends to easily install Chrome extensions.

Extension Usage Instructions

                        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: ".*"
- Example #2. Ask only on specific website, for example google.com: ".*google.com.*"

More info about Regex: https://regexr.com                    

Extension Basic Information

Name Prevent Tab Closing Prevent Tab Closing
ID jilanldohabpfcpgihdcadeffoopefbb
Official URL https://chrome.google.com/webstore/detail/prevent-tab-closing/jilanldohabpfcpgihdcadeffoopefbb
Description Prevents tabs from closing unexpectedly. Using dialog 'Are you sure?'
File Size 39.13 KB
Installation Count 664
Current Version 0.0.2
Last Updated 2021-03-02
Publish Date 2020-11-06
Rating 2.86/5 Total 7 Ratings
Developer https://shoshins.github.io/prevent-tab-closing
Email [email protected]
Payment Type free
Extension Website https://shoshins.github.io/prevent-tab-closing/
Help Page URL https://shoshins.github.io/prevent-tab-closing/
Supported Languages en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "Prevent Tab Closing",
    "version": "0.0.2",
    "description": "Prevents tabs from closing unexpectedly. Using dialog 'Are you sure?'",
    "icons": {
        "16": "16x16.png",
        "48": "48x48.png",
        "128": "128x128.png"
    },
    "browser_action": {
        "default_title": "Prevent tab from closing unexpectedly",
        "default_popup": "popup.html"
    },
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "run_at": "document_idle",
            "js": [
                "core.js"
            ]
        }
    ],
    "permissions": [
        "storage"
    ],
    "web_accessible_resources": [
        "page.js"
    ]
}