-
Notifications
You must be signed in to change notification settings - Fork 0
/
adblock-button-popup.html
368 lines (343 loc) · 12.7 KB
/
adblock-button-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
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
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
<!DOCTYPE html>
<!--
- This file is part of AdBlock <https://getadblock.com/>,
- Copyright (C) 2013-present Adblock, Inc.
-
- AdBlock 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 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. If not, see <http://www.gnu.org/licenses/>.
-->
<html>
<head>
<title i18n="popup_menu_title"></title>
<meta charset="UTF-8" />
<link rel="stylesheet" href="button/popup.css" />
<link rel="stylesheet" href="button/header.css" />
<link rel="stylesheet" href="button/help.css" />
<link rel="stylesheet" href="button/components/components.css" />
<link rel="stylesheet" href="button/popup-sections.css" />
<script src="polyfill.js"></script>
<script src="jquery-3.5.1.min.js"></script>
<script src="purify.min.js"></script>
<script src="adblock-functions.js"></script>
<script src="button/popup.js" defer></script>
<script src="button/header.js" type="module"></script>
<script src="button/help-action.js" defer></script>
<script src="button/help.js" defer></script>
<script src="button/popup-sections.js" type="module" defer></script>
</head>
<body style="overflow: hidden">
<div id="wrapper">
<div
id="div_status_error"
style="
display: none;
font-size: 14px;
margin: 8px;
padding: 5px 10px 0px 10px;
background-color: white;
"
>
<h2 i18n_error="error_msg_header" style="display: flex; justify-content: center"></h2>
<div class="separator"></div>
<p i18n_error="error_msg_partI"></p>
<div id="first_msg">
<span i18n_error="error_msg_help_us_partI"></span>
<a
id="errorreport"
style="cursor: pointer; color: blue"
i18n_error="error_msg_help_us_partII"
></a>
<br />
<br />
</div>
<p id="second_msg" i18n_error="error_msg_thank_you" style="display: none"></p>
<span id="reload_msg" i18n_error="error_msg_reload_partI"> </span>
<a
tabindex="0"
id="reload"
style="cursor: pointer; color: blue"
i18n_error="error_msg_reload_partII"
></a>
<br /><br />
<span i18n_error="error_msg_help_partI"> </span>
<a
tabindex="0"
i18n_error="error_msg_help_partII"
style="cursor: pointer; color: blue"
href="https://help.getadblock.com/support/solutions/articles/6000137757-the-adblock-menu-doesn-t-open-or-contains-only-a-donation-request-or-icons-in-chrome"
target="_blank"
></a>
</div>
<div id="div_sync_error_msg">
<span i18n="sync_header_error_save_message_part_2"></span>
<span i18n="sync_header_error_save_message_part_3"></span>
</div>
<div id="div_sync_outofdate_error_msg">
<span i18n="sync_message_old_version_part_1"></span>
<a
tabindex="0"
i18n="sync_message_old_version_part_2"
i18n_replacement_el="oldversionlink"
href="https://help.getadblock.com/support/solutions/articles/6000087857-how-do-i-make-sure-adblock-is-up-to-date-"
target="_blank"
>
<span id="oldversionlink" class="link-text-color"></span>
</a>
</div>
<div id="div_sync_removed_error_msg">
<i
tabindex="0"
class="material-icons md-18"
id="sync_removed_error_icon"
role="img"
i18n-aria-label="error"
>error</i
>
<span id="sync_removed_error_msg_part_1" i18n="sync_removed_error_msg_part_1"></span>
<span id="sync_removed_error_msg_part_2" i18n="sync_removed_error_msg_part_2"></span>
<button tabindex="0" id="sync_removed_error_close">
<i class="material-icons md-18" role="img" i18n-aria-label="close">close</i>
</button>
</div>
<!-- Premium CTA -->
<div id="div_myadblock_enrollment_v2" class="premium-cta">
<div class="cta-description">
<span class="newText_v2" i18n="new_badge"></span>
<span
tabindex="0"
id="mab_new_cta_text"
class="cta-message"
i18n="new_cta_default_text"
role="link"
><span></span
></span>
</div>
<button tabindex="0" id="mab_new_cta_close" class="premium-cta-close">
<i class="material-icons md-18" role="img" i18n-aria-label="close">close</i>
</button>
</div>
<!--VPN CTA option -->
<div id="div_vpn_cta" class="premium-cta">
<div class="cta-description">
<span class="newText_v2" i18n="new_badge"></span>
<span tabindex="0" id="vpn_cta" class="cta-message" role="link" i18n="vpn_cta_msg"></span>
</div>
<button tabindex="0" id="vpn_cta_close" class="premium-cta-close">
<i id="vpn_cta_close_icon" class="material-icons md-18" role="img" i18n-aria-label="close"
>close</i
>
</button>
</div>
<!-- Free DC CTA -->
<div id="div_free_dc_cta" class="premium-cta">
<div class="cta-description">
<span class="newText_v2" i18n="new_badge"></span>
<span
tabindex="0"
id="free-dc-cta-text"
class="cta-message"
i18n="block_floating_videos"
role="link"
><span></span
></span>
</div>
<button tabindex="0" id="div_free_dc_cta_close" class="premium-cta-close">
<i class="material-icons md-18" role="img" i18n-aria-label="close">close</i>
</button>
</div>
<!-- Premium themes CTA -->
<div id="div_premium_themes_cta" class="premium-cta">
<div class="cta-description">
<i class="material-icons md-18" role="img" aria-hidden="true">featured_video</i>
<span
tabindex="0"
id="themes-cta-text"
class="cta-message"
i18n="adblock_looked_like_this"
role="link"
><span></span
></span>
</div>
<button tabindex="0" id="close-themes-cta" class="premium-cta-close">
<i class="material-icons md-18" role="img" i18n-aria-label="close">close</i>
</button>
</div>
<!-- Premium DC CTA -->
<div id="div_premium_dc_cta" class="premium-dc-cta premium-cta">
<div class="cta-description dc-cta-description">
<span
tabindex="0"
id="dc-cta-text"
class="dc-cta-message"
i18n="new_premium_feature"
role="link"
><span></span
></span>
</div>
<button
tabindex="0"
id="close-premium-dc-cta"
class="premium-dc-cta-close premium-cta-close"
>
<i class="material-icons md-18" role="img" i18n-aria-label="close">close</i>
</button>
</div>
<!-- YT Channel Allowlist -->
<section id="yt_channel_section" class="primary_section">
<span class="channel_name_row">
<span tabindex="0" class="channel_icon" role="button">
<i id="yt_channel_icon" class="material-icons md-18" role="img"> play_circle_filled </i>
</span>
<span id="yt_channelname" class="channelname"></span>
</span>
<section id="allowlist_yt_channel_section">
<div>
<button
tabindex="0"
class="popup-btn grey withBorder"
id="btn_allowlist_yt_channel"
i18n="allowlist_channel"
role="button"
></button>
</div>
<div
tabindex="0"
id="div_manage_subscribed_channel"
class="menu-entry"
role="button"
i18n="manage_subscribed_channel"
></div>
</section>
<section id="allowlisted_yt_channel_section">
<div tabindex="0" i18n="allowlisted_channel"></div>
</section>
</section>
<section id="twitch_channel_section" class="primary_section">
<span class="channel_name_row">
<span tabindex="0" class="channel_icon" role="button">
<i id="twitch_channel_icon" class="material-icons md-18" role="img">games</i>
</span>
<span id="twitch_channelname" class="channelname"></span>
</span>
<section id="allowlist_twitch_channel_section">
<div>
<button
tabindex="0"
class="popup-btn grey withBorder"
id="btn_allowlist_twitch_channel"
i18n="allowlist_channel"
role="button"
></button>
</div>
</section>
<section id="allowlisted_twitch_channel_section">
<div tabindex="0" i18n="allowlisted_channel"></div>
</section>
</section>
<section id="help_overlay">
<div id="help_container">
<div id="header">
<span tabindex="0" id="back_icon" class="back-button" role="button">
<i class="material-icons md-18" role="img" i18n-aria-label="back_help_flow"
>chevron_left</i
>
</span>
<span id="help_title"></span>
<span tabindex="0" id="close_icon" class="close-button" role="button">
<i class="material-icons md-18" role="img" i18n-aria-label="close_help_flow">close</i>
</span>
</div>
<div id="separator_help" class="separator"></div>
<div id="help_content"></div>
<div class="popup-footer">
<a
href="https://help.getadblock.com/"
target="_blank"
tabindex="0"
id="help_footer"
></a>
</div>
<div class="popup-footer">
<span i18n="dont_know_help_me" id="dc_help_footer"></span>
</div>
</div>
</section>
<section id="disabled_site_section" class="primary_section">
<h2 id="disabled_site_title" i18n="disabled_site_title"></h2>
<div id="disabled_site_separator" class="separator"></div>
<img id="disabled_site_img" src="icons/disable_site.svg" />
</section>
<section id="primary_section" class="primary_section fade-in">
<h2 id="hostname"></h2>
<div id="popup_sections" class="popup-sections-wrapper">
<popup-section data-name="blockedStats" data-title="block_ads">
<popup-detail-stats></popup-detail-stats>
</popup-section>
<popup-section data-name="cookieWalls" data-title="skip_walls">
<popup-detail-text data-content="cookie_consent_cutter_popup_text"></popup-detail-text>
</popup-section>
<popup-section data-name="blockDistractions" data-title="block_distractions">
<popup-detail-text
data-content="block_common_distractions_popup_text"
></popup-detail-text>
</popup-section>
</div>
<section id="pause_subsection">
<action-button
data-action="pauseOnce"
data-icon="pause"
data-text="domain_pause_adblock"
data-type="secondary"
></action-button>
</section>
<div id="div_domain_paused_msg">
<span i18n="status_domain_paused"></span>
</div>
<div id="div_all_paused_msg">
<span i18n="disabled_on_all_sites"></span>
</div>
<div id="div_domain_allowlisted_msg">
<span i18n="status_allowlisted"></span>
</div>
<div id="allowlisted_subsection">
<action-button
data-action="resumeThisPage"
data-icon="play"
data-text="unpause_adblock"
data-type="tertiary"
></action-button>
</div>
</section>
<section id="domain_paused_subsection">
<button
tabindex="0"
class="popup-btn white"
type="button"
id="btn_unpause_once"
i18n="unpause_adblock"
role="button"
></button>
</section>
<section id="all_paused_subsection">
<button
tabindex="0"
class="popup-btn white"
type="button"
id="btn_unpause_all"
i18n="unpause_adblock"
role="button"
></button>
</section>
</div>
<!-- wrapper -->
</body>
</html>