-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
246 lines (207 loc) · 7.5 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<html>
<head>
<title>Extension Action</title>
<link type="text/css" href="css/custom-theme/jquery-ui-1.10.3.custom.css" rel="stylesheet"/>
<style type="text/css">
body {
font: 80% "Trebuchet MS", sans-serif;
margin: 10px;
background: #f5f5f5;
width: 300px;
height: auto;
overflow: auto;
overflow-x: hidden;
overflow-y: scroll;
padding-top: 0px;
padding-bottom: 5px;
padding-right: 15px;
padding-left: 5px;
}
div.urlTitle {
font-family: 'Arial', arial, serif;
font-size: 16px;
font-style: normal;
color: #000;
text-align: center;
padding: 3px 0px 3px 0px;
width: auto;
height: auto;
overflow: auto;
}
a.infoUrl {
font-family: 'Arial', arial, serif;
font-size: 12px;
font-style: normal;
text-align: center;
padding: 0px 0px 0px 6px;
width: auto;
height: auto;
overflow: auto;
outline-color: transparent;
}
a.ratedUrl {
font-family: 'Arial', arial, serif;
font-size: 12px;
font-style: normal;
text-align: center;
padding: 0px 0px 0px 6px;
width: auto;
height: auto;
overflow: auto;
outline-color: transparent;
}
div.urlActionForm {
text-align: center;
font-family: 'Arial', arial, serif;
font-size: 14px;
color: #000;
text-decoration: none;
width: 300px;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
border: 1px solid #DDD;
white-space: wrap;
overflow: auto;
text-overflow: auto;
display: none;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
background: #FFFFFF;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FFFFFF), to(#EEE));
background: -moz-linear-gradient(0% 90% 90deg, #EEE, #FFF);
}
div.urlActionForm:hover {
color: #000;
border-color: #999;
}
div.aRadioSetDiv {
padding: 0px 0px 5px 4px;
}
#bottomLinks {
font-family: 'Arial', arial, serif;
font-size: 12px;
color: #000;
text-decoration: none;
text-align: center;
width: auto;
margin: 0px auto;
padding: 5px 5px 5px 5px;
}
#divMultiSelect {
text-align: center;
width: auto;
margin: 0px 5px 0px 10px;
display: none;
}
#cbMultiSelect {
font-family: 'Arial', arial, serif;
font-size: 14px;
color: #000;
}
#wrapperSpacerTop {
width: auto;
height: auto;
margin: 0px auto;
padding: 0px 5px 0px 5px;
background: #f5f5f5;
display: none;
text-align: center;
}
#wrapperSpacerBottom {
width: auto;
height: auto;
margin: 0px auto;
padding: 3px 5px 5px 5px;
background: #f5f5f5;
display: none;
text-align: center;
}
button.actionButton {
width: 300px;
height: auto;
margin: 5px auto;
padding: 1px 2px 1px 2px;
display: none;
text-align: center;
overflow: auto;
}
#dialog_link {
padding: .4em 1em .4em 20px;
text-decoration: none;
position: relative;
}
#dialog_link span.ui-icon {
margin: 0 5px 0 0;
position: absolute;
left: .2em;
top: 50%;
margin-top: -8px;
}
ul#icons {
margin: 0;
padding: 0;
}
ul#icons li {
margin: 2px;
position: relative;
padding: 4px 0;
cursor: pointer;
float: left;
list-style: none;
}
ul#icons span.ui-icon {
float: left;
margin: 0 4px;
}
a {
outline-color: transparent;
}
</style>
<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.10.3.custom.min.js"></script>
<script src="CHANGE__PASSWORD__HERE.js"></script>
<script src="common/common.js"></script>
</head>
<body>
<button id="passwordBad" name="actionButton" class="actionButton">
<span style="font-size:36px; color:red;">( ! )</span><br/><br/><span name="pwdProbDescrip">No password set for ScriptBlock.</span><br/>Will
default deny scripts until changed.<br/><br/>Click for instructions.
</button>
<button id="fatalError" name="actionButton" class="actionButton">
<span style="font-size:36px; color:red;">( ! )</span><br/><br/>ScriptBlock encountered invalid encryption for this
site's settings / Exceeded storage quota on<br/><br/><span id="fatalErrorUrl"
style="font-style:italic;"></span><br/>Click here to
reset the<br/>HTML5 storage<br/>of the current web page.<br/><br/>Otherwise, please clear/enable the browser HTML5
storage.
</button>
<button id="extFatalError" name="actionButton" class="actionButton">
<span style="font-size:36px; color:red;">( ! )</span><br/><br/>ScriptBlock encountered corrupted settings data in
Google Chrome / Exceeded extension storage quota in Google Chrome.<br/><br/>Click here to clear<br/>the ScriptBlock
settings lists<br/>to try to solve the problem.<br/><br/>Otherwise, please ensure Google Chrome has javascript and
HTML5 storage enabled.<br/><br/>Contact the author of ScriptBlock if you repeatedly get this message.
</button>
<button id="revokeAllTemp" name="actionButton" class="actionButton">Enable</button>
<div id="divMultiSelect">
<input type="checkbox" id="cbMultiSelect" name="cbMultiSelect"/>
<label for="cbMultiSelect">Multi-Select Sites</label>
</div>
<div id="wrapperSpacerTop" class="wrapperSpacer">
<hr/>
</div>
<div id="wrapperSpacerBottom" class="wrapperSpacer">
<hr/>
</div>
<button id="tempAllowAllShown" name="actionButton" class="actionButton">Temporarily allow all this page</button>
<button id="allowAllShown" name="actionButton" class="actionButton">Allow All Listed Sites</button>
<button id="blockAllShown" name="actionButton" class="actionButton">Block All Listed Sites</button>
<button id="globalAllowTemp" name="actionButton" class="actionButton">Temporarily allow scripts globally</button>
<div id="bottomLinks">
<a href="javascript:;" id="pop_donate">Donate</a> | <a href="javascript:;" id="pop_options">Options</a> | <a href="javascript:;" id="pop_close">Close</a>
</div>
<div id="spaceFiller" style="display:none; height:150px"></div>
<script src="popup.js"></script>
</body>
</head>
</html>