-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathpopup.html
93 lines (93 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
83
84
85
86
87
88
89
90
91
92
93
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<style type="text/css">
body{
min-width:300px;
}
.listtitle{
margin-top:18px;
margin-bottom:10px;
}
h4{
color:blue;
font-size: 14px;
display: inline;
}
label.checkbox {
display: inline;
float:right;
font-size: 14px;
vertical-align: middle;
}
.checkbox input{
float: left;
margin-top:2px;
}
.mylist {
text-align: left;
cursor: default;
max-width:700px;
margin-bottom: 10px;
font-size: 12px;
table-layout:fixed;
}
.mylist td{
padding: 0px;
vertical-align:middle;
max-width:500px;
word-wrap:break-word; overflow:hidden;
/*word-break:break-all;*/
}
.mylist a:link{
color:grey;
text-decoration:none;
}
.mylist a:visited{
color:#551A8B;
}
.mylist a:hover{
color:#9CBA39;
}
.mylist a:active{
color:red;
}
.loading{text-align:center;color:grey;}
.full{width:100%}
.red{color:red;font-weight:bold;}
#player {text-align:center;}
#player input{vertical-align:top;margin:0px;background:#F0F0F0 url(close.png) no-repeat 2px 1px;}
#options {color:orange;}
#options img{margin:2px 2px 0 0;float: left;}
</style>
</head>
<body>
<!-- <label><input type="checkbox" checked>开启视频广告拦截功能</label><br>
<hr><br>-->
<div class="listtitle">
<h4>当前标签媒体资源:</h4>
<label class="checkbox"><a id="options" target="_blank" href="options.html" title="点击进入扩展选项设置"><img src="gear.png">设置</a></label>
</div>
<table id="mediatable" class="mylist">
<thead><tr>
<th id="mediaurl" data-column="url" colspan="3">资源</th>
</tr></thead>
<tbody id="medialist"><tr class="loading"><td colspan="3">暂无媒体资源</td></tr></tbody>
</table>
<div id="player"></div>
<div class="listtitle">
<h4>当前标签过滤请求:</h4>
<label class="checkbox"><input type="checkbox" id="whitecheck" checked>拦截此标签页广告</label>
</div>
<table id="blocktable" class="mylist" >
<thead><tr>
<th id="website" data-column="url" colspan="3">请求</th>
<!--<th data-column="type">类型</th>
<th data-column="filter">符合过滤规则</th>
<th data-column="thirdparty">第三方请求</th>-->
</tr></thead>
<tbody id="blocklist"><tr class="loading"><td colspan="6">暂无过滤请求</td></tr></tbody>
</table>
<script src="popup.js"></script>
</body>
</html>