forked from hpaolini/tinyFilter-chrome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
63 lines (56 loc) · 1.63 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
<!DOCTYPE html>
<!--
Copyright:
Copyright (C) 2013 Hunter Paolini <me@hpaolini.com>
License:
This file is part of tinyFilter.
tinyFilter is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
tinyFilter 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 tinyFilter; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-->
<html>
<head>
<style type="text/css">
body {
padding:0;
margin:0;
background-color #FDFDFD;
min-width:100px;
overflow-x:hidden;
}
button {
color:#0d0d0d;
margin:0;
background-color:#FDFDFD;
border:1px solid #FDFDFD;
padding:2px 4px;
text-align:left;
width:100%;
}
button:hover {
cursor:pointer !important;
background-color:#F3F7FC;
border:1px solid #D2DBED;
border-bottom-left-radius:2px 2px;
border-top-left-radius:2px 2px;
border-top-right-radius:2px 2px;
border-bottom-right-radius:2px 2px;
}
</style>
</head>
<body>
<button id="btn_ppbs" onclick="actionSite(0)">Block this site</button>
<button id="btn_ppts" onclick="actionSite(1)">Trust this site</button>
<hr/>
<button id="btn_ppopt" onclick="openOptions()">Options...</button>
</body>
<script type="text/javascript" src="popup.js"></script>
</html>