2022-01-25 20:58:23 +08:00
|
|
|
{
|
2022-01-29 23:34:10 +08:00
|
|
|
"name": "学生助手",
|
2022-01-25 20:58:23 +08:00
|
|
|
"version": "0.1.0",
|
|
|
|
"description": "BitDance Chrome Extension",
|
2022-01-28 15:56:58 +08:00
|
|
|
"manifest_version": 2,
|
2022-01-29 23:34:10 +08:00
|
|
|
"omnibox": {
|
|
|
|
"keyword": "ss"
|
|
|
|
},
|
2022-02-04 21:29:00 +08:00
|
|
|
"icons": {
|
|
|
|
"16": "assets/image/logo.png",
|
|
|
|
"48": "assets/image/logo.png",
|
|
|
|
"128": "assets/image/logo.png"
|
2022-01-29 23:34:10 +08:00
|
|
|
},
|
2022-01-28 17:41:12 +08:00
|
|
|
"background": {
|
|
|
|
"scripts": [
|
2022-02-04 21:29:00 +08:00
|
|
|
"assets/js/lib/jquery.min.js",
|
2022-01-28 18:46:52 +08:00
|
|
|
"assets/js/background.js",
|
2022-02-04 21:29:00 +08:00
|
|
|
"assets/js/advanced-search/background.js"
|
2022-01-28 17:41:12 +08:00
|
|
|
]
|
|
|
|
},
|
2022-01-28 15:56:58 +08:00
|
|
|
"content_scripts": [
|
|
|
|
{
|
|
|
|
"matches": [
|
2022-02-04 21:29:00 +08:00
|
|
|
"<all_urls>",
|
|
|
|
"*://*/*"
|
2022-01-28 15:56:58 +08:00
|
|
|
],
|
|
|
|
"js": [
|
2022-02-04 21:29:00 +08:00
|
|
|
"assets/js/lib/jquery.min.js",
|
2022-01-28 17:42:43 +08:00
|
|
|
"assets/js/content.js",
|
2022-02-04 21:29:00 +08:00
|
|
|
"assets/js/advanced-search/content.js",
|
|
|
|
"assets/js/mouse-effects/click.js",
|
|
|
|
"assets/js/mouse-effects/mouse-style.js"
|
2022-01-28 15:56:58 +08:00
|
|
|
],
|
2022-02-04 21:29:00 +08:00
|
|
|
"css": [],
|
|
|
|
"run_at": "document_start"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matches": [
|
2022-02-05 16:35:00 +08:00
|
|
|
"*://blog.csdn.net/*"
|
2022-02-04 21:29:00 +08:00
|
|
|
],
|
|
|
|
"js": [
|
|
|
|
"assets/js/lib/jquery.min.js",
|
2022-02-04 21:47:42 +08:00
|
|
|
"assets/js/expand-full-text/expand.js"
|
2022-02-04 21:29:00 +08:00
|
|
|
],
|
|
|
|
"run_at": "document_start"
|
2022-02-05 11:05:07 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"matches": [
|
|
|
|
"*://fanyi.qq.com/*"
|
|
|
|
],
|
|
|
|
"js": [
|
|
|
|
"assets/js/lib/jquery.min.js",
|
|
|
|
"assets/js/advanced-search/content-helper/fanyi.qq.com.js"
|
|
|
|
],
|
|
|
|
"run_at": "document_start"
|
2022-02-05 16:35:00 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"matches": [
|
|
|
|
"*://fanyi.youdao.com/*"
|
|
|
|
],
|
|
|
|
"js": [
|
|
|
|
"assets/js/lib/jquery.min.js",
|
|
|
|
"assets/js/advanced-search/content-helper/fanyi.youdao.com.js"
|
|
|
|
],
|
|
|
|
"run_at": "document_start"
|
2022-01-28 15:56:58 +08:00
|
|
|
}
|
|
|
|
],
|
2022-01-25 20:58:23 +08:00
|
|
|
"browser_action": {
|
2022-02-04 21:29:00 +08:00
|
|
|
"default_icon": "assets/image/logo.png",
|
2022-01-28 15:56:58 +08:00
|
|
|
"default_popup": "popup.html",
|
2022-02-04 21:29:00 +08:00
|
|
|
"default_title": "学生助手"
|
2022-01-25 20:58:23 +08:00
|
|
|
},
|
2022-01-28 16:18:43 +08:00
|
|
|
"commands": {
|
|
|
|
"_execute_browser_action": {
|
|
|
|
"suggested_key": {
|
|
|
|
"default": "Alt+Comma",
|
|
|
|
"mac": "Alt+Comma"
|
|
|
|
},
|
|
|
|
"description": "打开 [学生助手] 插件"
|
|
|
|
}
|
|
|
|
},
|
2022-02-04 21:29:00 +08:00
|
|
|
"web_accessible_resources": [
|
|
|
|
"/assets/image/*"
|
|
|
|
],
|
2022-01-28 15:56:58 +08:00
|
|
|
"permissions": [
|
|
|
|
"background",
|
|
|
|
"contextMenus",
|
|
|
|
"storage",
|
|
|
|
"unlimitedStorage",
|
|
|
|
"webRequest",
|
|
|
|
"webRequestBlocking",
|
2022-02-01 17:56:52 +08:00
|
|
|
"tabs",
|
2022-02-04 20:47:07 +08:00
|
|
|
"storage",
|
|
|
|
"activeTab",
|
2022-02-01 17:56:52 +08:00
|
|
|
"notifications"
|
2022-01-28 15:56:58 +08:00
|
|
|
]
|
2022-02-01 17:56:52 +08:00
|
|
|
}
|