OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 | |
3 <!-- | |
4 - This file is part of Adblock Plus <https://adblockplus.org/>, | |
5 - Copyright (C) 2006-present eyeo GmbH | |
6 - | |
7 - Adblock Plus is free software: you can redistribute it and/or modify | |
8 - it under the terms of the GNU General Public License version 3 as | |
9 - published by the Free Software Foundation. | |
10 - | |
11 - Adblock Plus is distributed in the hope that it will be useful, | |
12 - but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 - GNU General Public License for more details. | |
15 - | |
16 - You should have received a copy of the GNU General Public License | |
17 - along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | |
18 --> | |
19 | |
20 <html> | |
21 <head> | |
22 <meta charset="utf-8"> | |
23 <link type="text/css" href="jquery-ui/css/smoothness/jquery-ui-1.12.1.custom.css
" rel="stylesheet" /> | |
24 <script type="text/javascript" src="jquery-ui/js/jquery-3.2.1.min.js"></script> | |
25 <script type="text/javascript" src="jquery-ui/js/jquery-ui-1.12.1.custom.min.js"
></script> | |
26 <script type="text/javascript" src="polyfill.js"></script> | |
27 <script type="text/javascript" src="ext/common.js"></script> | |
28 <script type="text/javascript" src="ext/content.js"></script> | |
29 <script type="text/javascript" src="i18n.js" charset="utf-8"></script> | |
30 <script type="text/javascript" src="desktop-options.js" charset="utf-8"></script
> | |
31 <title>Adblock Plus Options</title> | |
32 <style type="text/css" media="screen"> | |
33 body | |
34 { | |
35 font-family: Arial, Helvetica, sans-serif; | |
36 font-size: 13px; | |
37 padding: 20px; | |
38 } | |
39 | |
40 td | |
41 { | |
42 font-size: 13px; | |
43 vertical-align: top; | |
44 text-align: left; | |
45 } | |
46 | |
47 p | |
48 { | |
49 margin-top: 0.5em; | |
50 } | |
51 | |
52 button | |
53 { | |
54 white-space: pre; | |
55 } | |
56 | |
57 #firefox-warning | |
58 { | |
59 margin-bottom: 20px; | |
60 padding: 10px; | |
61 border: 1px solid #cccccc; | |
62 border-radius: 3px; | |
63 background-color: #ffcccc; | |
64 font-size: 120%; | |
65 } | |
66 | |
67 #subscriptionTemplate, | |
68 #addSubscriptionContainer, | |
69 #customSubscriptionContainer | |
70 { | |
71 display: none; | |
72 } | |
73 | |
74 #acceptableAdsContainer | |
75 { | |
76 margin-top: 10px; | |
77 } | |
78 | |
79 #acceptableAdsLink, | |
80 #acceptableAdsDocs | |
81 { | |
82 margin-left: 10px; | |
83 margin-right: 10px; | |
84 } | |
85 | |
86 .subscription | |
87 { | |
88 margin: 3px 0px; | |
89 } | |
90 | |
91 .subscriptionRemoveButton, | |
92 .subscriptionEnabledContainer, | |
93 .subscriptionTitle | |
94 { | |
95 margin-right: 1em; | |
96 } | |
97 | |
98 .subscriptionRemoveButton | |
99 { | |
100 font-weight: normal !important; | |
101 font-size: 20px !important; | |
102 color: #FF0000 !important; | |
103 border: none !important; | |
104 outline: none !important; | |
105 background: none !important; | |
106 } | |
107 | |
108 .subscriptionUpdate | |
109 { | |
110 color: #B0B0B0; | |
111 } | |
112 | |
113 #rawFilters { | |
114 display: none; | |
115 } | |
116 | |
117 .okMsg { | |
118 display: none; | |
119 color: #ffffff; | |
120 background: #30e030; | |
121 font-weight: bold; | |
122 padding: 3px; | |
123 } | |
124 | |
125 .errMsg { | |
126 display: none; | |
127 color: #ffffff; | |
128 background: #e03030; | |
129 font-weight:bold; | |
130 padding:3px; | |
131 } | |
132 | |
133 /* Filter list entry status message */ | |
134 .flMsg { | |
135 display: none; | |
136 color: #b0b0b0; | |
137 } | |
138 | |
139 .focused | |
140 { | |
141 box-shadow: 0px 0px 10px #e03030; | |
142 } | |
143 | |
144 </style> | |
145 </head> | |
146 <body> | |
147 <table> | |
148 <tr> | |
149 <td style="padding-right: 8px; vertical-align: middle;"> | |
150 <img src="icons/detailed/abp-32.png" srcset="icons/detailed/abp-64.png 2x"
> | |
151 </td> | |
152 <td> | |
153 <h1><span class="i18n_options"></span></h1> | |
154 </td> | |
155 </tr> | |
156 </table> | |
157 | |
158 <div id="firefox-warning" hidden> | |
159 Don't like what you see? | |
160 <a href="https://adblockplus.org/blog/the-plan-towards-offering-adblock-plus-
for-firefox-as-a-web-extension" target="_blank">Neither do we</a>. | |
161 This page will be improved soon. | |
162 </div> | |
163 | |
164 <div id="tabs"> | |
165 <ul> | |
166 <li><a href="#tab-filterlists"><span class="i18n_filter_lists"></span></a></
li> | |
167 <li><a href="#tab-userfilters"><span class="i18n_add_your_own_filters"></spa
n></a></li> | |
168 <li><a href="#tab-whitelisted"><span class="i18n_whitelisted_domains"></span
></a></li> | |
169 <li><a href="#tab-general"><span class="i18n_general"></span></a></li> | |
170 </ul> | |
171 | |
172 <div id="tab-filterlists"> | |
173 <p> | |
174 <span class="i18n_enable_only_the"></span> | |
175 </p> | |
176 <p> | |
177 <span class="i18n_out_of_date_lists"></span> | |
178 <button id="updateFilterLists" class="refreshButton"><span class="i18n_upd
ate_now"></span></button><br /> | |
179 | |
180 <!-- Subscription entry template --> | |
181 <div id="subscriptionTemplate" class="subscription"> | |
182 <button class="i18n_filters_subscription_delete_label subscriptionRemove
Button"></button> | |
183 <label class="subscriptionEnabledContainer"> | |
184 <input class="subscriptionEnabled" type="checkbox" /> <span class="i18
n_filters_subscription_enabled_label"></span> | |
185 </label> | |
186 <a class="subscriptionTitle"></a> | |
187 <span class="subscriptionUpdate"></span> | |
188 </div> | |
189 | |
190 <!-- Placeholder for list of subscriptions --> | |
191 <div id="filterLists"></div> | |
192 <br /> | |
193 | |
194 <!-- Placeholder for user's filter list URLs --> | |
195 <div id="userFilterLists" style="margin-bottom: 8px"></div> | |
196 | |
197 <p id="addSubscriptionButton"> | |
198 <button id="startSubscriptionSelection" class="addButton"><span class="i
18n_filters_addSubscription_label"></span></button> | |
199 </p> | |
200 <div id="addSubscriptionContainer"> | |
201 <span class="i18n_subscriptionSelection_subscriptionSelector_label"></sp
an><br /> | |
202 <select id="subscriptionSelector" style="width:500px"></select> | |
203 <button id="addSubscription" class="addButton"><span class="i18n_filters
_addSubscriptionAdd_label"></span></button> | |
204 </div> | |
205 <div id="customSubscriptionContainer"> | |
206 <p> | |
207 <span class="i18n_subscriptionSelection_title_label"></span><br /> | |
208 <input type="text" id="customSubscriptionTitle" style="width:500px" /> | |
209 </p> | |
210 <p> | |
211 <span class="i18n_subscriptionSelection_location_label"></span><br /> | |
212 <input type="text" id="customSubscriptionLocation" style="width:500px"
/> | |
213 </p> | |
214 </div> | |
215 | |
216 <div id="acceptableAdsContainer"> | |
217 <input type="checkbox" id="acceptableAds" /> | |
218 <label for="acceptableAds" class="i18n_filters_acceptableAds2_label"></l
abel> | |
219 <a id="acceptableAdsLink" href="#" target="_blank" class="i18n_filters_v
iewList_label"></a> | |
220 <a id="acceptableAdsDocs" href="#" target="_blank" class="i18n_filters_r
eadMore_label"></a> | |
221 </div> | |
222 </p> | |
223 </div> | |
224 | |
225 <div id="tab-whitelisted"> | |
226 <p class="i18n_disabled_for_these_domains"></p> | |
227 | |
228 <form id="whitelistForm" action="#"> | |
229 <table> | |
230 <tr> | |
231 <td style="max-width:100%"> | |
232 <input type="text" value="" id="newWhitelistDomain" style="width:100%"
> | |
233 </td> | |
234 <td> | |
235 <button class="addButton" type="submit"><span class="i18n_add_domain_b
utton"></span></button> | |
236 </td> | |
237 </tr> | |
238 | |
239 <tr> | |
240 <td> | |
241 <select id="excludedDomainsBox" size="10" multiple style="width:500px;
background: white;"></select> | |
242 </td> | |
243 <td> | |
244 <button id="removeWhitelist" class="removeButton"><span class="i18n_re
move_button"></span></button> | |
245 </td> | |
246 </tr> | |
247 </table> | |
248 </form> | |
249 </div> | |
250 | |
251 <div id="tab-userfilters"> | |
252 <p id="filter-must-follow-syntax" class="i18n_filter_must_follow_syntax"></p
> | |
253 | |
254 <form id="customFilterForm" action="#"> | |
255 <table> | |
256 <tr> | |
257 <td> | |
258 <input type="text" value="" id="newFilter" style="width:500px"> | |
259 </td> | |
260 <td> | |
261 <button class="addButton" type="submit"><span class="i18n_add_filter_b
utton"></span></button> | |
262 </td> | |
263 </tr> | |
264 <tr> | |
265 <td> | |
266 <select id="userFiltersBox" size="20" multiple style="width: 500px; ba
ckground: white;overflow:auto;"></select> | |
267 </td> | |
268 <td> | |
269 <button id="removeCustomFilter" class="removeButton"><span class="i18n
_remove_button"></span></button> | |
270 </td> | |
271 </tr> | |
272 <tr> | |
273 <td> | |
274 <div style="font-size: 90%; text-align: right"><a id="rawFiltersButton
" href="#"><span class="i18n_edit_filters_raw"></span></a></div> | |
275 </td> | |
276 </tr> | |
277 <tr id="rawFilters"> | |
278 <td> | |
279 <div style="width: 500px"> | |
280 <textarea id="rawFiltersText" style="width: 100%; height: 300px"></t
extarea> | |
281 </div> | |
282 </td> | |
283 <td> | |
284 <div><button id="importRawFilters"><span class="i18n_apply_changes"></
span></button></div> | |
285 </td> | |
286 </tr> | |
287 </table> | |
288 </form> | |
289 </div> | |
290 | |
291 <div id="tab-general"> | |
292 <p> | |
293 <div id="shouldShowBlockElementMenuContainer"> | |
294 <input type="checkbox" id="shouldShowBlockElementMenu" /><label for="sho
uldShowBlockElementMenu" class="i18n_show_block_element_menu"></label> | |
295 </div> | |
296 <div id="showDevtoolsPanelContainer"> | |
297 <input type="checkbox" id="show_devtools_panel" /><label for="show_devto
ols_panel" class="i18n_show_devtools_panel"></label> | |
298 </div> | |
299 <div id="shouldShowNotificationsContainer" data-section="notifications"> | |
300 <input type="checkbox" id="shouldShowNotifications" /><label for="should
ShowNotifications" class="i18n_overlay_shownotifications_label"></label> | |
301 </div> | |
302 </p> | |
303 | |
304 <p id="found-a-bug" class="i18n_found_a_bug"></p> | |
305 </div> | |
306 </div> | |
307 | |
308 </body> | |
309 </html> | |
OLD | NEW |