-
Notifications
You must be signed in to change notification settings - Fork 27
/
totop.html
68 lines (58 loc) · 2.88 KB
/
totop.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>冲顶小助手</title>
<link rel="stylesheet" type="text/css" href="totop.css">
<link rel="stylesheet" type="text/css" href="bootstrap.css">
</head>
<body>
<div id="head-container">
<div class="alert alert-info">答题小助手,支持市面上大多数答题APP,祝你早日冲顶~ <small><a href="https://rawgit.qii404.me/qishibo/totop/master/desc.html" class="label label-danger" target="_blank">使用必读</a></small></div>
<p>
<select id="app-type" style="width: 20%" class="form-control btn btn-success">
<option value="">请选择答题APP</option>
<option value="cddh">冲顶大会</option>
<option value="xigua">西瓜百万英雄</option>
<option value="huajiao">花椒百万赢家</option>
<option value="zscr">芝士超人</option>
<option value="hjsm">黄金十秒</option>
<option value="qf">千帆知识英雄</option>
<option value="yk">优酷疯狂夺金</option>
<option value="tb">淘宝点题成金</option>
</select>
</p>
<div id="question-container"></div>
<div id="control-button">
<button id="stop" class="btn btn-info hidden">暂停一下,我看看结果</button>
<button id="start" class="btn btn-info hidden">继续自动刷新题目</button>
<small><span id="status">刷新中</span>...共计<span id="counter">0</span>次,如果页面没有变化说明新题目还未到达</small>
</div>
</div>
<div id="div-page" ></div>
<iframe id="iframe-page"></iframe>
<script type="text/template" id="question-template">
<div>
<h4 class="alert alert-info">{{title}}</h4>
<table id="answer-table">
<tr><th>选项</th><th>百度搜索结果总数</th><th>搜索首页出现次数</th><th class="removed-repeat">去除重复后出现次数</th></tr>
{{#answers}}
<tr>
<td>{{value}}</td>
<td><span id="total-score-{{index}}" class="label label-default"></span></td>
<td><span id="search-score-{{index}}" class="label label-default"></span></td>
<td class="removed-repeat"><span id="removed-score-{{index}}" class="label label-default"></span></td>
</tr>
{{/answers}}
</table>
<span id="recomment-result" class="label label-success">推荐答案: {{result}}</span>
</div>
</script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="bootstrap.js"></script>
<script type="text/javascript" src="mustache.js"></script>
<script type="text/javascript" src="base64.js"></script>
<!-- <script type="text/javascript" src="totop.js"></script> -->
<script type="text/javascript" src="https://rawgit.qii404.me/qishibo/totop/master/totop.js"></script>
</body>
</html>