Submit and Close

Submit and Close

Provides a way to automatically close tabs after form submission has succeeded. Use the context menu on a page or form field to try it, or find additional buttons on select websites.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "name": "Submit and Close",
  "short_name": "Submit and Close",
  "description": "Auto-close tabs after form submission has completed",
  "version": "1.0.1resigned1",
  "applications": {
    "gecko": {
      "id": "[email protected]"
    }
  },
  "icons": {
    "16": "images/addon.svg",
    "32": "images/addon.svg",
    "48": "images/addon.svg",
    "128": "images/addon.svg"
  },
  "permissions": [
    "tabs",
    "menus"
  ],
  "background": {
    "scripts": [
      "background/background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "content/findsubmit.js"
      ]
    },
    {
      "matches": [
        "https://bugzilla.mozilla.org/show_bug.cgi*",
        "https://bugzilla.mozilla.org/process_bug.cgi*",
        "https://bugzilla-dev.allizom.org/show_bug.cgi*",
        "https://bugzilla-dev.allizom.org/process_bug.cgi*"
      ],
      "js": [
        "content/bugzilla.js"
      ],
      "css": [
        "content/bugzilla.css"
      ]
    }
  ]
}