Better Open and Close Tabs
Don't close pinned tabs on cmd-W. Open and close tabs in predictable way.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "Better Open and Close Tabs",
"description": "Don't close pinned tabs on cmd-W. Open and close tabs in predictable way.",
"version": "1.0.2",
"manifest_version": 2,
"permissions": [
"storage",
"tabs"
],
"background": {
"scripts": [
"background.js"
],
"persistent": false
},
"options_page": "options.html",
"browser_action": {
"default_icon": "icon96.png",
"default_title": "Press Command+W to close and Command+T to open tabs"
},
"commands": {
"close-current-tab": {
"suggested_key": {
"default": "Ctrl+W",
"mac": "Command+W"
},
"description": "Close current tab, activate tab to right"
},
"add-a-new-tab": {
"suggested_key": {
"default": "Ctrl+T",
"mac": "Command+T"
},
"description": "Opens new tab to the right of current tab"
}
},
"icons": {
"16": "icon96.png",
"32": "icon96.png",
"48": "icon96.png",
"128": "icon96.png"
}
}