mirror of
https://gitee.com/bitdance-team/chrome-extension
synced 2025-01-10 13:48:14 +08:00
add some scripts.
This commit is contained in:
parent
d50e0c4108
commit
1659cde35a
11
_locales/zh_CN/messages.json
Normal file
11
_locales/zh_CN/messages.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": {
|
||||
"message": "3"
|
||||
},
|
||||
"name": {
|
||||
"message": "2"
|
||||
},
|
||||
"tips": {
|
||||
"message": "1"
|
||||
}
|
||||
}
|
0
assets/css/main.css
Normal file
0
assets/css/main.css
Normal file
0
assets/js/background.js
Normal file
0
assets/js/background.js
Normal file
5
assets/js/common/jquery.min.js
vendored
Normal file
5
assets/js/common/jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
0
assets/js/popup.js
Normal file
0
assets/js/popup.js
Normal file
13
manifest.json
Normal file
13
manifest.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "BitDance浏览器小插件",
|
||||
"version": "0.1.0",
|
||||
"description": "BitDance Chrome Extension",
|
||||
"manifest_version": 3,
|
||||
"browser_action": {
|
||||
"default_icon": "assets/image/ico19_disable.png",
|
||||
"default_popup": "popup.html",
|
||||
"default_title": "这是一个默认title"
|
||||
},
|
||||
"default_locale": "zh_CN",
|
||||
"permissions": [ "background", "contextMenus", "storage", "unlimitedStorage", "webRequest", "webRequestBlocking", "tabs" ]
|
||||
}
|
18
popup.html
Normal file
18
popup.html
Normal file
@ -0,0 +1,18 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>BitDance</title>
|
||||
<link href="assets/css/main.css" type="text/css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div id="popup">
|
||||
<div class="panel">
|
||||
<p>Hello world!</p>
|
||||
</div>
|
||||
</div>
|
||||
<script src="assets/js/common/jquery.min.js"></script>
|
||||
<script src="assets/js/popup.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user