-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
82 lines (78 loc) · 2.39 KB
/
popup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="./popup.css" />
</head>
<body style="max-height: 300px; overflow-y: scroll">
<!-- 页面二维码 -->
<div id="qr-code">
<h3>页面二维码:</h3>
<div id="qr-code-image"></div>
</div>
<br />
<h3>参数列表:</h3>
<table class="table">
<thead>
<tr>
<th></th>
<th>key</th>
<th>value</th>
<th></th>
</tr>
</thead>
<tbody id="tbody"></tbody>
</table>
<!-- ald panel -->
<input
type="text"
id="first-config-name"
placeholder="enter config name"
/><br />
<input type="text" id="subconfig-name" placeholder="enter subconfig name" />
<input type="text" id="resId-input" placeholder="enter resId" /><br />
<button id="open-pegasus-panel-btn">OPEN PANEL</button>
<!-- quick query -->
<h3>快捷标签:</h3>
<section id="tag-section">
<div class="tag">force_ssr=true</div>
<div class="tag">wh_fp_only=true</div>
<div class="tag">wh_document_only=true</div>
<div class="tag">x-ssr=true</div>
<div class="tag">wh_debug=true</div>
<div class="tag">wh_infostruct=true</div>
</section>
<!-- current url container -->
<div>
<h3>
CURRENT:
<span class="warn-text text-red cursor-pointer">RELOAD W/ NEW</span>
</h3>
<textarea id="current-url" rows="4" cols="48"></textarea>
</div>
<template id="productrow">
<tr>
<td>
<span id="add-btn" class="cursor-pointer">➕</span>
<!-- <input type="checkbox" checked class="checkbox" /> -->
</td>
<td>
<input type="text" id="key-input" class="text-center" />
</td>
<td>
<input type="text" id="value-input" class="text-center" />
</td>
<td>
<span id="remove-btn" class="cursor-pointer">➖</span>
</td>
</tr>
</template>
<template id="nodata"> url参数为空 </template>
<script src="./content_scripts/jsqr.js"></script>
<script src="./content_scripts/qrcode.js"></script>
<script src="./popup.js" type="module"></script>
</body>
</html>