Disable Tab Close

Disable Tab Close

Automatically restore closed tab. Prevent accidental closing of tabs.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "name": "__MSG_extension_name__",
  "description": "__MSG_extension_description__",
  "version": "1.2023.713.0",
  "author": "dlw@mcprv",
  "default_locale": "en",
  "browser_specific_settings": {
    "gecko": {
      "id": "{5db55d68-26f1-42cf-8756-761c5410575e}",
      "strict_min_version": "88.0"
    }
  },
  "permissions": [
    "<all_urls>",
    "storage",
    "tabs",
    "menus",
    "sessions",
    "management"
  ],
  "icons": {
    "64": "pin.svg"
  },
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "options_ui": {
    "page": "options.html",
    "browser_style": true
  },
  "browser_action": {
    "default_icon": {
      "96": "pin.svg"
    },
    "default_title": "__MSG_extension_name__",
    "default_popup": "browser_action.html",
    "browser_style": true
  },
  "commands": {
    "enable_lock": {
      "suggested_key": {},
      "description": "__MSG_enable_lock__"
    },
    "disable_lock": {
      "suggested_key": {},
      "description": "__MSG_disable_lock__"
    },
    "toggle_lock": {
      "suggested_key": {},
      "description": "__MSG_toggle_lock__"
    },
    "enable_confirm_tab_close": {
      "suggested_key": {},
      "description": "__MSG_enable_confirm_tab_close__"
    },
    "disable_confirm_tab_close": {
      "suggested_key": {},
      "description": "__MSG_disable_confirm_tab_close__"
    },
    "toggle_confirm_tab_close": {
      "suggested_key": {},
      "description": "__MSG_toggle_confirm_tab_close__"
    }
  }
}