1
0
mirror of https://gitee.com/bitdance-team/chrome-extension synced 2025-01-10 13:48:14 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

add some scripts.

This commit is contained in:
程序员小墨 2022-01-25 20:58:23 +08:00
parent d50e0c4108
commit 1659cde35a
7 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,11 @@
{
"description": {
"message": "3"
},
"name": {
"message": "2"
},
"tips": {
"message": "1"
}
}

0
assets/css/main.css Normal file
View File

0
assets/js/background.js Normal file
View 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
View File

13
manifest.json Normal file
View 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
View 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>