mirror of
https://gitee.com/bitdance-team/chrome-extension
synced 2025-10-08 00:45:13 +08:00
bugfix, add background js, add logo
This commit is contained in:
BIN
packages/shell-chrome/assets/image/icon_disabled.png
Normal file
BIN
packages/shell-chrome/assets/image/icon_disabled.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
packages/shell-chrome/assets/image/icon_enabled.png
Normal file
BIN
packages/shell-chrome/assets/image/icon_enabled.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.0 KiB |
@@ -0,0 +1 @@
|
|||||||
|
console.log("[BitDance extension] 学生助手插件启已启用")
|
@@ -2,12 +2,32 @@
|
|||||||
"name": "BitDance浏览器小插件",
|
"name": "BitDance浏览器小插件",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"description": "BitDance Chrome Extension",
|
"description": "BitDance Chrome Extension",
|
||||||
|
"manifest_version": 2,
|
||||||
|
"_locale": "zh_CN",
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
|
"content_scripts": [
|
||||||
|
{
|
||||||
|
"matches": [
|
||||||
|
"<all_urls>"
|
||||||
|
],
|
||||||
|
"js": [
|
||||||
|
"assets/js/background.js"
|
||||||
|
],
|
||||||
|
"css": []
|
||||||
|
}
|
||||||
|
],
|
||||||
"browser_action": {
|
"browser_action": {
|
||||||
"default_icon": "assets/image/ico19_disable.png",
|
"default_icon": "assets/image/icon_disabled.png",
|
||||||
"default_popup": "popup.html",
|
"default_popup": "popup.html",
|
||||||
"default_title": "这是一个默认title"
|
"default_title": "这是一个默认title"
|
||||||
},
|
},
|
||||||
"default_locale": "zh_CN",
|
"permissions": [
|
||||||
"permissions": [ "background", "contextMenus", "storage", "unlimitedStorage", "webRequest", "webRequestBlocking", "tabs" ]
|
"background",
|
||||||
|
"contextMenus",
|
||||||
|
"storage",
|
||||||
|
"unlimitedStorage",
|
||||||
|
"webRequest",
|
||||||
|
"webRequestBlocking",
|
||||||
|
"tabs"
|
||||||
|
]
|
||||||
}
|
}
|
@@ -14,5 +14,4 @@
|
|||||||
<script src="assets/js/common/jquery.min.js"></script>
|
<script src="assets/js/common/jquery.min.js"></script>
|
||||||
<script src="assets/js/popup.js"></script>
|
<script src="assets/js/popup.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Reference in New Issue
Block a user