mirror of
https://gitee.com/bitdance-team/chrome-extension
synced 2025-01-26 21:20:26 +08:00
111 lines
2.6 KiB
JSON
111 lines
2.6 KiB
JSON
{
|
|
"name": "学生助手",
|
|
"version": "0.1.0",
|
|
"description": "BitDance Chrome Extension",
|
|
"manifest_version": 2,
|
|
"omnibox": {
|
|
"keyword": "ss"
|
|
},
|
|
"icons": {
|
|
"16": "assets/image/logo.png",
|
|
"48": "assets/image/logo.png",
|
|
"128": "assets/image/logo.png"
|
|
},
|
|
"background": {
|
|
"scripts": [
|
|
"assets/js/lib/jquery.min.js",
|
|
"assets/js/background.js",
|
|
"assets/js/translate/background.js",
|
|
"assets/js/remove-google-ads/background_preventAdsScript.js",
|
|
"assets/html/pomodoro/background.js",
|
|
"assets/js/advanced-search/background.js",
|
|
"assets/html/screenshot/background.js"
|
|
]
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": [
|
|
"<all_urls>",
|
|
"*://*/*"
|
|
],
|
|
"js": [
|
|
"assets/js/lib/jquery.min.js",
|
|
"assets/js/content.js",
|
|
"assets/js/direct-url/url.js",
|
|
"assets/js/mouse-effects/click.js",
|
|
"assets/js/mouse-effects/mouse-style.js",
|
|
"assets/js/advanced-search/content.js"
|
|
],
|
|
"css": [],
|
|
"run_at": "document_start"
|
|
},
|
|
{
|
|
"_______commit": "屏蔽Google广告模块",
|
|
"matches": [
|
|
"*://*/*"
|
|
],
|
|
"js": [
|
|
"assets/js/remove-google-ads/removeAds.js"
|
|
],
|
|
"run_at": "document_start"
|
|
},
|
|
{
|
|
"_______commit": "自动展开模块",
|
|
"matches": [
|
|
"*://blog.csdn.net/*",
|
|
"*://www.it1352.com/*"
|
|
],
|
|
"js": [
|
|
"assets/js/lib/jquery.min.js",
|
|
"assets/js/expand-full-text/expand.js"
|
|
],
|
|
"run_at": "document_start"
|
|
},
|
|
{
|
|
"_______commit": "自动搜索模块",
|
|
"matches": [
|
|
"*://fanyi.qq.com/*",
|
|
"*://baike.baidu.com/*",
|
|
"*://fanyi.youdao.com/*",
|
|
"*://www.cnki.net/*",
|
|
"*://qikan.cqvip.com/*",
|
|
"*://lib.cqvip.com/*"
|
|
],
|
|
"js": [
|
|
"assets/js/advanced-search/content-helper.js"
|
|
],
|
|
"run_at": "document_start"
|
|
}
|
|
],
|
|
"browser_action": {
|
|
"default_icon": "assets/image/logo.png",
|
|
"default_popup": "popup.html",
|
|
"default_title": "召唤“学生助手” (Alt+,)"
|
|
},
|
|
"commands": {
|
|
"_execute_browser_action": {
|
|
"suggested_key": {
|
|
"default": "Alt+Comma",
|
|
"mac": "Alt+Comma"
|
|
},
|
|
"description": "打开 [学生助手] 插件"
|
|
}
|
|
},
|
|
"web_accessible_resources": [
|
|
"/assets/image/*",
|
|
"/assets/html/screenshot/images/*"
|
|
],
|
|
"permissions": [
|
|
"background",
|
|
"contextMenus",
|
|
"storage",
|
|
"webRequest",
|
|
"webRequestBlocking",
|
|
"tabs",
|
|
"activeTab",
|
|
"notifications",
|
|
"geolocation",
|
|
"<all_urls>"
|
|
]
|
|
}
|