Prevent Tab Closing

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

什么是Prevent Tab Closing?

Prevent Tab Closing是由https://shoshins.github.io/prevent-tab-closing开发的Chrome扩展程序,该扩展的主要功能是“Prevents tabs from closing unexpectedly. Using dialog 'Are you sure?'”。

扩展截图

screenshot
screenshot

下载Prevent Tab Closing扩展crx文件

下载Prevent Tab Closing扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        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                    

扩展基本信息

名称 Prevent Tab Closing Prevent Tab Closing
ID jilanldohabpfcpgihdcadeffoopefbb
官方URL https://chrome.google.com/webstore/detail/prevent-tab-closing/jilanldohabpfcpgihdcadeffoopefbb
简介 Prevents tabs from closing unexpectedly. Using dialog 'Are you sure?'
文件大小 39.13 KB
安装次数 664
当前版本 0.0.2
更新时间 2021-03-02
上架时间 2020-11-06
评分 2.86/5 共7次评分
开发者 https://shoshins.github.io/prevent-tab-closing
电子邮箱 [email protected]
付费类型 free
扩展官网 https://shoshins.github.io/prevent-tab-closing/
帮助页面URL https://shoshins.github.io/prevent-tab-closing/
支持的语言 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"
    ]
}