mirror of
https://git.mirrors.martin98.com/https://github.com/cilame/v_jstools
synced 2025-08-14 13:55:55 +08:00
add
This commit is contained in:
parent
8085bca87f
commit
7e2a46fe72
@ -13,13 +13,20 @@
|
|||||||
},
|
},
|
||||||
"content_scripts": [
|
"content_scripts": [
|
||||||
{
|
{
|
||||||
"matches": ["http://*/*", "https://*/*"],
|
"matches": [ "file:///*", "http://*/*", "https://*/*" ],
|
||||||
"run_at": "document_start",
|
"run_at": "document_start",
|
||||||
"js": ["inject.js"],
|
"js": ["inject.js"],
|
||||||
"all_frames": true
|
"all_frames": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
|
"options_page": "options.html",
|
||||||
|
"options_ui": {
|
||||||
|
"chrome_style": false,
|
||||||
|
"open_in_tab": true,
|
||||||
|
"page": "options.html"
|
||||||
|
},
|
||||||
|
|
||||||
// 暂时用不上
|
// 暂时用不上
|
||||||
// "commands": {
|
// "commands": {
|
||||||
// "attach-debugger": {
|
// "attach-debugger": {
|
||||||
|
15
options.html
Normal file
15
options.html
Normal 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
87
options.js
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user