Created
May 20, 2016 08:52
-
-
Save KitaitiMakoto/c9aa6eb244bc8db4b1ee7ad93c54c8b5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"manifest_version": 2, | |
"name": "BiB/i", | |
"version": "1.0", | |
"applications": { | |
"gecko": { | |
"id": "[email protected]" | |
} | |
}, | |
"permissions": [ | |
"tabs" | |
], | |
"background": { | |
"scripts": ["open-tab.js"], | |
"persistent": false | |
}, | |
"browser_action": { | |
"default_title": "BiB/i" | |
}, | |
"web_accessible_resources": [ | |
"*" | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
chrome.browserAction.onClicked.addListener(function(aTab) { | |
chrome.tabs.create({'url': 'bib/i/index.html'}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment