This commit is contained in:
cilame 2021-10-10 16:33:47 +08:00
parent 8085bca87f
commit 7e2a46fe72
3 changed files with 110 additions and 1 deletions

View File

@ -13,13 +13,20 @@
},
"content_scripts": [
{
"matches": ["http://*/*", "https://*/*"],
"matches": [ "file:///*", "http://*/*", "https://*/*" ],
"run_at": "document_start",
"js": ["inject.js"],
"all_frames": true
}
],
"options_page": "options.html",
"options_ui": {
"chrome_style": false,
"open_in_tab": true,
"page": "options.html"
},
//
// "commands": {
// "attach-debugger": {

15
options.html Normal file
View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<title>配置页面</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
</head>
<body>
<div id="main"></div>
<!-- <script src="options.js"></script> -->
</body>
</html>

87
options.js Normal file

File diff suppressed because one or more lines are too long