Tab Closer
Opt-in to allow developers to programmatically close the tab.
Additional files are visible only to premium users
manifest.json
{
"name": "Tab Closer",
"description": "Opt-in to allow developers to programmatically close the tab.",
"version": "1.3",
"manifest_version": 3,
"background": {
"service_worker": "background.js"
},
"icons": {
"16": "icons/close-tab-16.png",
"32": "icons/close-tab-32.png",
"64": "icons/close-tab-64.png",
"128": "icons/close-tab-128.png"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"contentScript.js"
],
"run_at": "document_end"
}
],
"options_page": "options.html",
"host_permissions": [
"<all_urls>"
],
"update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}