Closure
Require confirmation when closing a tab or navigating away from a site
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "Closure",
"description": "Require confirmation when closing a tab or navigating away from a site",
"version": "0.1",
"permissions": [
"contextMenus",
"activeTab",
"storage"
],
"background": {
"scripts": [
"background.js"
]
},
"manifest_version": 2,
"web_accessible_resources": [
"/img/favicon.ico"
],
"options_page": "options/options.html",
"options_ui": {
"page": "options/options.html",
"chrome_style": true
},
"icons": {
"16": "/img/icon16.png",
"48": "/img/icon48.png",
"128": "/img/icon128.png"
}
}