-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
306 lines (275 loc) · 14.5 KB
/
options.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
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
<!DOCTYPE html>
<!-- saved from url=(0064)chrome-extension://cfhdojbkjhnklbpkdaibdccddilifddb/options.html -->
<html lang="en-US" dir="ltr"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" href="options/jquery-ui-1.8.16.custom.css" rel="stylesheet">
<script type="text/javascript" src="options/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="options/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="options/common.js"></script>
<script type="text/javascript" src="options/content.js"></script>
<script type="text/javascript" src="options/i18n.js" charset="utf-8"></script>
<script type="text/javascript" src="options/options.js" charset="utf-8"></script>
<script src="./jquery.throwable.js" type="text/javascript"></script>
<title>AdBlock Pro Options</title>
<style type="text/css" media="screen">
body
{
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
padding: 20px;
}
td
{
font-size: 13px;
vertical-align: top;
text-align: left;
}
p
{
margin-top: 0.5em;
}
button
{
white-space: pre;
}
#subscriptionTemplate,
#addSubscriptionContainer,
#customSubscriptionContainer
{
display: none;
}
#acceptableAdsContainer
{
margin-top: 10px;
}
#acceptableAdsLink,
#acceptableAdsDocs
{
margin-left: 10px;
margin-right: 10px;
}
.subscription
{
margin: 3px 0px;
}
.subscriptionRemoveButton,
.subscriptionEnabledContainer,
.subscriptionTitle
{
margin-right: 1em;
}
.subscriptionRemoveButton
{
font-weight: normal !important;
font-size: 20px !important;
color: #FF0000 !important;
border: none !important;
outline: none !important;
background: none !important;
}
.subscriptionUpdate
{
color: #B0B0B0;
}
.subscriptionUpdate.error
{
color: #FF0000;
}
#rawFilters {
display: none;
}
.okMsg {
display: none;
color: #ffffff;
background: #30e030;
font-weight: bold;
padding: 3px;
}
.errMsg {
display: none;
color: #ffffff;
background: #e03030;
font-weight:bold;
padding:3px;
}
/* Filter list entry status message */
.flMsg {
display: none;
color: #b0b0b0;
}
.focused
{
box-shadow: 0px 0px 10px #e03030;
}
</style>
</head>
<body>
<div class="throwthrowthrow">
<table>
<tbody><tr>
<td style="padding-right: 8px; vertical-align: middle;">
<img src="options/abp-32.png" srcset="icons/detailed/abp-64.png 2x">
</td>
<td>
<h1><span class="i18n_options">Adblock Plus Options</span></h1>
</td>
</tr>
</tbody></table>
<div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="options.html#tab-filterlists"><span class="i18n_filter_lists">Filter lists</span></a></li>
<li class="ui-state-default ui-corner-top"><a href="options.html#tab-userfilters"><span class="i18n_add_your_own_filters">Add your own filters</span></a></li>
<li class="ui-state-default ui-corner-top"><a href="options.html#tab-whitelisted"><span class="i18n_whitelisted_domains">Whitelisted domains</span></a></li>
<li class="ui-state-default ui-corner-top"><a href="options.html#tab-general"><span class="i18n_general">General</span></a></li>
</ul>
<div id="tab-filterlists" class="ui-tabs-panel ui-widget-content ui-corner-bottom">
<p>
<span class="i18n_enable_only_the">Enable only the filter lists you need. Too many can make your browser unresponsive.</span>
</p>
<p>
<span class="i18n_out_of_date_lists">Out-of-date lists are updated periodically.</span>
<button id="updateFilterLists" class="refreshButton ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary" role="button" aria-disabled="false"><span class="ui-button-icon-primary ui-icon ui-icon-refresh"></span><span class="ui-button-text"><span class="i18n_update_now">Update now</span></span></button><br>
<!-- Subscription entry template -->
</p><div id="subscriptionTemplate" class="subscription">
<button class="i18n_filters_subscription_delete_label subscriptionRemoveButton ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button" aria-disabled="false"><span class="ui-button-text">Delete</span></button>
<label class="subscriptionEnabledContainer">
<input class="subscriptionEnabled" type="checkbox"> <span class="i18n_filters_subscription_enabled_label">Enabled</span>
</label>
<a class="subscriptionTitle"></a>
<span class="subscriptionUpdate"></span>
</div>
<!-- Placeholder for list of subscriptions -->
<div id="filterLists"><div class="subscription">
<button class="i18n_filters_subscription_delete_label subscriptionRemoveButton ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button" aria-disabled="false" title="Delete">×</button>
<label class="subscriptionEnabledContainer">
<input class="subscriptionEnabled" type="checkbox"> <span class="i18n_filters_subscription_enabled_label">Enabled</span>
</label>
<a class="subscriptionTitle" title="https://easylist-downloads.adblockplus.org/antiadblockfilters.txt" href="https://easylist.adblockplus.org/">Adblock Warning Removal List</a>
<span class="subscriptionUpdate">Last updated at 3:09:18 PM on 1/23/2016</span>
</div><div class="subscription">
<button class="i18n_filters_subscription_delete_label subscriptionRemoveButton ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button" aria-disabled="false" title="Delete">×</button>
<label class="subscriptionEnabledContainer">
<input class="subscriptionEnabled" type="checkbox"> <span class="i18n_filters_subscription_enabled_label">Enabled</span>
</label>
<a class="subscriptionTitle" title="https://easylist-downloads.adblockplus.org/easylist.txt" href="https://easylist.adblockplus.org/">EasyList</a>
<span class="subscriptionUpdate">Last updated at 3:18:12 PM on 1/21/2016</span>
</div></div>
<br>
<!-- Placeholder for user's filter list URLs -->
<div id="userFilterLists" style="margin-bottom: 8px"></div>
<p id="addSubscriptionButton">
<button id="startSubscriptionSelection" class="addButton ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary" role="button" aria-disabled="false"><span class="ui-button-icon-primary ui-icon ui-icon-plus"></span><span class="ui-button-text"><span class="i18n_filters_addSubscription_label">Add filter subscription</span></span></button>
</p>
<div id="addSubscriptionContainer">
<span class="i18n_subscriptionSelection_subscriptionSelector_label">Please choose a filter subscription from the list:</span><br>
<select id="subscriptionSelector" style="width:500px"><option style="font-weight: bold; color: rgb(0, 0, 0); background-color: rgb(224, 255, 224);">EasyList (English)</option><option>ABPindo+EasyList (Bahasa Indonesia)</option><option>Bulgarian list+EasyList (български)</option><option>EasyList China+EasyList (中文)</option><option>EasyList Czech and Slovak+EasyList (čeština, slovenčina)</option><option>EasyList Dutch+EasyList (Nederlands)</option><option>EasyList Germany+EasyList (Deutsch)</option><option>EasyList Hebrew+EasyList (עברית)</option><option>EasyList Italy+EasyList (italiano)</option><option>EasyList Lithuania+EasyList (lietuvių kalba)</option><option>Latvian List+EasyList (latviešu valoda)</option><option>Liste AR+Liste FR+EasyList (العربية)</option><option>Liste FR+EasyList (français)</option><option>ROList+EasyList (românesc)</option><option>RuAdList+EasyList (русский, українська)</option><option>Add a different subscription…</option></select>
<button id="addSubscription" class="addButton ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary" role="button" aria-disabled="false"><span class="ui-button-icon-primary ui-icon ui-icon-plus"></span><span class="ui-button-text"><span class="i18n_filters_addSubscriptionAdd_label">Add</span></span></button>
</div>
<div id="customSubscriptionContainer">
<p>
<span class="i18n_subscriptionSelection_title_label">Subscription title:</span><br>
<input type="text" id="customSubscriptionTitle" style="width:500px">
</p>
<p>
<span class="i18n_subscriptionSelection_location_label">Filter list location:</span><br>
<input type="text" id="customSubscriptionLocation" style="width:500px">
</p>
</div>
<div id="acceptableAdsContainer">
<input type="checkbox" id="acceptableAds">
<label for="acceptableAds" class="i18n_filters_acceptableAds2_label">Allow some non-intrusive advertising</label>
<a id="acceptableAdsLink" href="https://easylist-downloads.adblockplus.org/exceptionrules.txt" target="_blank" class="i18n_filters_viewList_label">View list</a>
<a id="acceptableAdsDocs" href="https://adblockplus.org/redirect?link=acceptable_ads&lang=en-US" target="_blank" class="i18n_filters_readMore_label">Read more</a>
</div>
<p></p>
</div>
<div id="tab-whitelisted" class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide">
<p class="i18n_disabled_for_these_domains">Adblock Plus is disabled for the domains listed below. You can add a domain either via the Adblock Plus icon in the address bar or by typing the domain (not a URL) in the box and clicking the "Add domain" button.</p>
<form id="whitelistForm" action="chrome-extension://cfhdojbkjhnklbpkdaibdccddilifddb/options.html#">
<table>
<tbody><tr>
<td style="max-width:100%">
<input type="text" value="" id="newWhitelistDomain" style="width:100%">
</td>
<td>
<button class="addButton ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary" type="submit" role="button" aria-disabled="false"><span class="ui-button-icon-primary ui-icon ui-icon-plus"></span><span class="ui-button-text"><span class="i18n_add_domain_button">Add domain</span></span></button>
</td>
</tr>
<tr>
<td>
<select id="excludedDomainsBox" size="10" multiple="" style="width:500px; background: white;"><option value="kissanime.to">kissanime.to</option></select>
</td>
<td>
<button id="removeWhitelist" class="removeButton ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary" role="button" aria-disabled="false"><span class="ui-button-icon-primary ui-icon ui-icon-minus"></span><span class="ui-button-text"><span class="i18n_remove_button">Remove selected</span></span></button>
</td>
</tr>
</tbody></table>
</form>
</div>
<div id="tab-userfilters" class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide">
<p id="filter-must-follow-syntax" class="i18n_filter_must_follow_syntax">Your filter must follow the <a href="https://adblockplus.org/redirect?link=filterdoc&lang=en-US" target="_blank">Adblock Plus filter syntax</a>.</p>
<form id="customFilterForm" action="chrome-extension://cfhdojbkjhnklbpkdaibdccddilifddb/options.html#">
<table>
<tbody><tr>
<td>
<input type="text" value="" id="newFilter" style="width:500px">
</td>
<td>
<button class="addButton ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary" type="submit" role="button" aria-disabled="false"><span class="ui-button-icon-primary ui-icon ui-icon-plus"></span><span class="ui-button-text"><span class="i18n_add_filter_button">Add filter</span></span></button>
</td>
</tr>
<tr>
<td>
<select id="userFiltersBox" size="20" multiple="" style="width: 500px; background: white;"></select>
</td>
<td>
<button id="removeCustomFilter" class="removeButton ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary" role="button" aria-disabled="false"><span class="ui-button-icon-primary ui-icon ui-icon-minus"></span><span class="ui-button-text"><span class="i18n_remove_button">Remove selected</span></span></button>
</td>
</tr>
<tr>
<td>
<div style="font-size: 90%; text-align: right"><a id="rawFiltersButton" href="options.html#"><span class="i18n_edit_filters_raw">Edit filters as raw text</span></a></div>
</td>
</tr>
<tr id="rawFilters">
<td>
<div style="width: 500px">
<textarea id="rawFiltersText" style="width: 100%; height: 300px"></textarea>
</div>
</td>
<td>
<div><button id="importRawFilters" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button" aria-disabled="false"><span class="ui-button-text"><span class="i18n_apply_changes">Apply changes</span></span></button></div>
</td>
</tr>
</tbody></table>
</form>
</div>
<div id="tab-general" class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide">
<p>
</p><div id="shouldShowBlockElementMenuContainer">
<input type="checkbox" id="shouldShowBlockElementMenu"><label for="shouldShowBlockElementMenu" class="i18n_show_block_element_menu">Show 'Block Element' right-click menu item</label>
</div>
<div id="shouldShowNotificationsContainer" data-section="notifications" hidden="">
<input type="checkbox" id="shouldShowNotifications"><label for="shouldShowNotifications" class="i18n_overlay_shownotifications_label">Show useful notifications</label>
</div>
<p></p>
<p id="found-a-bug" class="i18n_found_a_bug">Found a bug? Want to translate Adblock Plus into your language? Please <a href="https://adblockplus.org/redirect?link=chrome_support&lang=en-US" target="_blank">file a request here</a>.</p>
</div>
</div>
</div>
<script>
$(".throwthrowthrow").throwable({
containment:[0,0,0,0],
drag:true,
gravity:{x:0,y:10},
impulse:{
f:52,
p:{x:1,y:1}
},
shape:"circle",
autostart:false,
bounce:0.5,
areaDetection:[[0,0,300,300]],
collisionDetection: true
});
</script>
</body></html>