mirror of
https://gitee.com/bitdance-team/chrome-extension
synced 2025-01-11 06:08:15 +08:00
57 lines
1.2 KiB
JSON
57 lines
1.2 KiB
JSON
{
|
|
"name": "学生助手",
|
|
"version": "0.1.0",
|
|
"description": "BitDance Chrome Extension",
|
|
"manifest_version": 2,
|
|
"omnibox": {
|
|
"keyword": "ss"
|
|
},
|
|
"icons":{
|
|
"16": "assets/image/search-256.png",
|
|
"48": "assets/image/search-256.png",
|
|
"128": "assets/image/search-256.png"
|
|
},
|
|
"background": {
|
|
"scripts": [
|
|
"assets/js/background.js",
|
|
"pages/advanced-search/js/background.js"
|
|
]
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": [
|
|
"<all_urls>"
|
|
],
|
|
"js": [
|
|
"assets/js/content.js",
|
|
"pages/advanced-search/js/content.js"
|
|
],
|
|
"css": []
|
|
}
|
|
],
|
|
"browser_action": {
|
|
"default_icon": "assets/image/icon_disabled.png",
|
|
"default_popup": "popup.html",
|
|
"default_title": "这是一个默认title"
|
|
},
|
|
"commands": {
|
|
"_execute_browser_action": {
|
|
"suggested_key": {
|
|
"default": "Alt+Comma",
|
|
"mac": "Alt+Comma"
|
|
},
|
|
"description": "打开 [学生助手] 插件"
|
|
}
|
|
},
|
|
"permissions": [
|
|
"background",
|
|
"contextMenus",
|
|
"storage",
|
|
"unlimitedStorage",
|
|
"webRequest",
|
|
"webRequestBlocking",
|
|
"tabs",
|
|
"notifications"
|
|
]
|
|
}
|