forked from adblockplus/adblockpluschrome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
block.html
86 lines (80 loc) · 2.21 KB
/
block.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
<!DOCTYPE html>
<!--
- This file is part of Adblock Plus <https://adblockplus.org/>,
- Copyright (C) 2006-2016 Eyeo GmbH
-
- Adblock Plus is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License version 3 as
- published by the Free Software Foundation.
-
- Adblock Plus is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Block element</title>
<link type="text/css" href="jquery-ui/css/smoothness/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
<script type="text/javascript" src="jquery-ui/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="jquery-ui/js/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="ext/common.js"></script>
<script type="text/javascript" src="ext/content.js"></script>
<script type="text/javascript" src="i18n.js" charset="utf-8"></script>
<script type="text/javascript" src="block.js" charset="utf-8"></script>
<style type="text/css">
body
{
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
margin: 0px;
padding: 5px;
display: inline-block;
}
#title,
#filters
{
margin-bottom: 3px;
}
#title > *
{
vertical-align: middle;
}
#title > img
{
margin-right: 5px;
}
#filters
{
width: 400px;
height: 100px;
resize: none;
white-space: pre;
word-wrap: normal;
}
#buttons
{
text-align: right;
}
button
{
padding: 3px !important;
}
</style>
</head>
<body>
<div id="title">
<img src="icons/detailed/abp-32.png" srcset="icons/detailed/abp-64.png 2x">
<span class="i18n_add_filters_msg"></span>
</div>
<textarea id="filters"></textarea>
<div id="buttons">
<button id="addButton" class="i18n_add"></button>
<button id="cancelButton" class="i18n_cancel"></button>
</div>
</body>
</html>