blob: 5d9ebd3e50be8ee3ba401f3893575bbd0238aa22 (
plain)
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
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
- You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!DOCTYPE html>
<html>
<head>
<title data-l10n-id="addons-page-title"></title>
<!-- Bug 1571346 Remove 'unsafe-inline' from style-src within about:addons -->
<meta http-equiv="Content-Security-Policy" content="default-src chrome:; style-src chrome: 'unsafe-inline'; img-src chrome: file: jar: https: http:; connect-src chrome: data: https: http:; object-src 'none'">
<link rel="stylesheet" href="chrome://global/content/tabprompts.css">
<link rel="stylesheet" href="chrome://global/skin/tabprompts.css">
<link rel="stylesheet" href="chrome://global/skin/in-content/common.css">
<link rel="stylesheet" href="chrome://global/skin/in-content/toggle-button.css">
<link rel="stylesheet" href="chrome://mozapps/content/extensions/aboutaddons.css">
<link rel="stylesheet" href="chrome://mozapps/content/extensions/shortcuts.css">
<link rel="localization" href="branding/brand.ftl">
<link rel="localization" href="toolkit/about/aboutAddons.ftl">
<link rel="localization" href="toolkit/about/abuseReports.ftl">
<!-- Defer scripts so all the templates are loaded by the time they run. -->
<script defer src="chrome://mozapps/content/extensions/named-deck.js"></script>
<script defer src="chrome://mozapps/content/extensions/aboutaddonsCommon.js"></script>
<script defer src="chrome://mozapps/content/extensions/message-bar.js"></script>
<script defer src="chrome://mozapps/content/extensions/abuse-reports.js"></script>
<script defer src="chrome://mozapps/content/extensions/shortcuts.js"></script>
<script defer src="chrome://mozapps/content/extensions/drag-drop-addon-installer.js"></script>
<script defer src="chrome://mozapps/content/extensions/aboutaddons.js"></script>
</head>
<body>
<drag-drop-addon-installer></drag-drop-addon-installer>
<div id="full">
<div id="sidebar">
<categories-box id="categories" orientation="vertical">
<button is="discover-button" viewid="addons://discover/" class="category" role="tab" name="discover"></button>
<button is="category-button" viewid="addons://list/extension" class="category" role="tab" name="extension"></button>
<button is="category-button" viewid="addons://list/theme" class="category" role="tab" name="theme"></button>
<button is="category-button" viewid="addons://list/plugin" class="category" role="tab" name="plugin"></button>
<button is="category-button" viewid="addons://list/dictionary" class="category" role="tab" name="dictionary" hidden default-hidden></button>
<button is="category-button" viewid="addons://list/locale" class="category" role="tab" name="locale" hidden default-hidden></button>
<button is="category-button" viewid="addons://updates/available" class="category" role="tab" name="available-updates" hidden default-hidden></button>
<button is="category-button" viewid="addons://updates/recent" class="category" role="tab" name="recent-updates" hidden default-hidden></button>
</categories-box>
<div class="spacer"></div>
<sidebar-footer></sidebar-footer>
</div>
<div id="content">
<addon-page-header id="page-header" page-options-id="page-options"></addon-page-header>
<addon-page-options id="page-options"></addon-page-options>
<message-bar-stack id="abuse-reports-messages" reverse max-message-bar-count="3">
</message-bar-stack>
<div id="main"></div>
</div>
</div>
<!-- Include helpers for the inline options browser select and context menus. -->
<content-select-dropdown></content-select-dropdown>
<proxy-context-menu id="contentAreaContextMenu"></proxy-context-menu>
<template name="addon-page-header">
<div class="sticky-container">
<div class="main-search">
<label for="search-addons" class="search-label" data-l10n-id="default-heading-search-label"></label>
<search-addons data-l10n-id="search-header-shortcut" data-l10n-attrs="key"></search-addons>
</div>
<div class="main-heading">
<button class="back-button" action="go-back" data-l10n-id="header-back-button" hidden></button>
<h1 class="header-name"></h1>
<div class="spacer"></div>
<addon-updates-message id="updates-message" hidden></addon-updates-message>
<div class="page-options-menu">
<button class="more-options-button" action="page-options" aria-haspopup="menu" aria-expanded="false" data-l10n-id="addon-page-options-button"></button>
</div>
</div>
</div>
<global-warnings></global-warnings>
</template>
<template name="addon-page-options">
<panel-list>
<panel-item action="check-for-updates" data-l10n-id="addon-updates-check-for-updates" data-l10n-attrs="accesskey"></panel-item>
<panel-item action="view-recent-updates" data-l10n-id="addon-updates-view-updates" data-l10n-attrs="accesskey"></panel-item>
<panel-item-separator></panel-item-separator>
<panel-item action="install-from-file" data-l10n-id="addon-install-from-file" data-l10n-attrs="accesskey"></panel-item>
<panel-item action="debug-addons" data-l10n-id="addon-open-about-debugging" data-l10n-attrs="accesskey"></panel-item>
<panel-item-separator></panel-item-separator>
<panel-item action="set-update-automatically" data-l10n-id="addon-updates-update-addons-automatically" data-l10n-attrs="accesskey"></panel-item>
<panel-item action="reset-update-states" data-l10n-attrs="accesskey"></panel-item>
<panel-item-separator></panel-item-separator>
<panel-item action="manage-shortcuts" data-l10n-id="addon-manage-extensions-shortcuts" data-l10n-attrs="accesskey"></panel-item>
</panel-list>
</template>
<template name="addon-options">
<panel-list>
<panel-item data-l10n-id="remove-addon-button" action="remove"></panel-item>
<panel-item data-l10n-id="install-update-button" action="install-update" badged></panel-item>
<panel-item data-l10n-id="preferences-addon-button" action="preferences"></panel-item>
<panel-item-separator></panel-item-separator>
<panel-item data-l10n-id="report-addon-button" action="report"></panel-item>
<panel-item-separator></panel-item-separator>
<panel-item data-l10n-id="manage-addon-button" action="expand"></panel-item>
</panel-list>
</template>
<template name="plugin-options">
<panel-list>
<panel-item data-l10n-id="ask-to-activate-button" action="ask-to-activate"></panel-item>
<panel-item data-l10n-id="always-activate-button" action="always-activate"></panel-item>
<panel-item data-l10n-id="never-activate-button" action="never-activate"></panel-item>
<panel-item-separator></panel-item-separator>
<panel-item data-l10n-id="preferences-addon-button" action="preferences"></panel-item>
<panel-item-separator></panel-item-separator>
<panel-item data-l10n-id="manage-addon-button" action="expand"></panel-item>
</panel-list>
</template>
<template name="addon-permissions-list">
<div class="addon-permissions-required" hidden>
<h2 class="permission-header" data-l10n-id="addon-permissions-required"></h2>
<ul class="addon-permissions-list"></ul>
</div>
<div class="addon-permissions-optional" hidden>
<h2 class="permission-header" data-l10n-id="addon-permissions-optional"></h2>
<ul class="addon-permissions-list"></ul>
</div>
<div class="addon-detail-row addon-permissions-empty" data-l10n-id="addon-permissions-empty" hidden></div>
<div class="addon-detail-row">
<a is="support-link" support-page="extension-permissions" data-l10n-id="addon-permissions-learnmore"></a>
</div>
</template>
<template name="card">
<div class="card addon">
<img class="card-heading-image">
<div class="addon-card-collapsed">
<img class="card-heading-icon addon-icon" alt="">
<div class="card-contents">
<div class="addon-name-container">
<a class="addon-badge addon-badge-recommended"
is="support-link"
support-page="add-on-badges"
utmcontent="promoted-addon-badge"
data-l10n-id="addon-badge-recommended2"
hidden>
</a>
<a class="addon-badge addon-badge-line"
is="support-link"
support-page="add-on-badges"
utmcontent="promoted-addon-badge"
data-l10n-id="addon-badge-line3"
hidden>
</a>
<a class="addon-badge addon-badge-verified"
is="support-link"
support-page="add-on-badges"
utmcontent="promoted-addon-badge"
data-l10n-id="addon-badge-verified2"
hidden>
</a>
<a class="addon-badge addon-badge-private-browsing-allowed"
is="support-link"
support-page="extensions-pb"
data-l10n-id="addon-badge-private-browsing-allowed2"
hidden>
</a>
<div class="spacer"></div>
<button class="theme-enable-button" action="toggle-disabled" hidden></button>
<input type="checkbox" class="toggle-button extension-enable-button" action="toggle-disabled" data-l10n-id="extension-enable-addon-button-label" hidden>
<button
class="more-options-button"
action="more-options"
data-l10n-id="addon-options-button"
aria-haspopup="menu"
aria-expanded="false"></button>
</div>
<!-- This ends up in the tab order when the ellipsis happens, but it isn't necessary. -->
<span class="addon-description" tabindex="-1"></span>
</div>
</div>
<message-bar class="update-postponed-bar" align="center" hidden>
<span class="description" data-l10n-id="install-postponed-message"></span>
<button action="install-postponed" data-l10n-id="install-postponed-button"></button>
</message-bar>
<message-bar class="addon-card-message" align="center" hidden>
<span></span>
<button action="link"></button>
</message-bar>
</div>
</template>
<template name="addon-name-container-in-disco-card">
<div class="disco-card-head">
<h3 class="disco-addon-name"></h3>
<span class="disco-addon-author"><a data-l10n-name="author" target="_blank"></a></span>
</div>
<button class="disco-cta-button primary" action="install-addon"></button>
<button class="disco-cta-button" data-l10n-id="manage-addon-button" action="manage-addon"></button>
</template>
<template name="addon-description-in-disco-card">
<div>
<span class="disco-description-main"></span>
</div>
<div class="disco-description-statistics">
<five-star-rating></five-star-rating>
<span class="disco-user-count"></span>
</div>
</template>
<template name="addon-details">
<button-group class="tab-group">
<button is="named-deck-button" deck="details-deck" name="details" data-l10n-id="details-addon-button" class="tab-button"></button>
<button is="named-deck-button" deck="details-deck" name="preferences" data-l10n-id="preferences-addon-button" class="tab-button"></button>
<button is="named-deck-button" deck="details-deck" name="permissions" data-l10n-id="permissions-addon-button" class="tab-button"></button>
<button is="named-deck-button" deck="details-deck" name="release-notes" data-l10n-id="release-notes-addon-button" class="tab-button"></button>
</button-group>
<named-deck id="details-deck">
<section name="details">
<div class="addon-detail-description"></div>
<div class="addon-detail-contribute">
<label data-l10n-id="detail-contributions-description"></label>
<button
class="addon-detail-contribute-button"
action="contribute"
data-l10n-id="detail-contributions-button"
data-l10n-attrs="accesskey">
</button>
</div>
<div class="addon-detail-row addon-detail-row-updates">
<label data-l10n-id="addon-detail-updates-label"></label>
<div>
<button class="button-link" data-l10n-id="addon-detail-update-check-label" action="update-check" hidden></button>
<label>
<input type="radio" name="autoupdate" value="1" data-telemetry-value="default">
<span data-l10n-id="addon-detail-updates-radio-default"></span>
</label>
<label>
<input type="radio" name="autoupdate" value="2" data-telemetry-value="enabled">
<span data-l10n-id="addon-detail-updates-radio-on"></span>
</label>
<label>
<input type="radio" name="autoupdate" value="0" data-telemetry-value="">
<span data-l10n-id="addon-detail-updates-radio-off"></span>
</label>
</div>
</div>
<div class="addon-detail-row addon-detail-row-has-help addon-detail-row-private-browsing" hidden>
<label data-l10n-id="detail-private-browsing-label"></label>
<div>
<label>
<input type="radio" name="private-browsing" value="1" data-telemetry-value="on">
<span data-l10n-id="addon-detail-private-browsing-allow"></span>
</label>
<label>
<input type="radio" name="private-browsing" value="0" data-telemetry-value="off">
<span data-l10n-id="addon-detail-private-browsing-disallow"></span>
</label>
</div>
</div>
<div class="addon-detail-row addon-detail-help-row" data-l10n-id="addon-detail-private-browsing-help" hidden>
<a is="support-link" support-page="extensions-pb" data-l10n-name="learn-more"></a>
</div>
<div class="addon-detail-row addon-detail-row-has-help addon-detail-row-private-browsing-disallowed" hidden>
<label data-l10n-id="detail-private-disallowed-label"></label>
</div>
<div class="addon-detail-row addon-detail-help-row" data-l10n-id="detail-private-disallowed-description2" hidden>
<a is="support-link" data-l10n-name="learn-more" support-page="extensions-pb"></a>
</div>
<div class="addon-detail-row addon-detail-row-has-help addon-detail-row-private-browsing-required" hidden>
<label class="learn-more-label-link" data-l10n-id="detail-private-required-label"></label>
</div>
<div class="addon-detail-row addon-detail-help-row" data-l10n-id="detail-private-required-description2" hidden>
<a is="support-link" data-l10n-name="learn-more" support-page="extensions-pb"></a>
</div>
<div class="addon-detail-row addon-detail-row-author">
<label data-l10n-id="addon-detail-author-label"></label>
<a target="_blank" data-telemetry-name="author"></a>
</div>
<div class="addon-detail-row addon-detail-row-version">
<label data-l10n-id="addon-detail-version-label"></label>
</div>
<div class="addon-detail-row addon-detail-row-lastUpdated">
<label data-l10n-id="addon-detail-last-updated-label"></label>
</div>
<div class="addon-detail-row addon-detail-row-homepage">
<label data-l10n-id="addon-detail-homepage-label"></label>
<!-- URLs should always be displayed as LTR. -->
<a target="_blank" data-telemetry-name="homepage" dir="ltr"></a>
</div>
<div class="addon-detail-row addon-detail-row-rating">
<label data-l10n-id="addon-detail-rating-label"></label>
<div class="addon-detail-rating">
<five-star-rating></five-star-rating>
<a target="_blank" data-telemetry-name="rating"></a>
</div>
</div>
</section>
<inline-options-browser name="preferences"></inline-options-browser>
<addon-permissions-list name="permissions"></addon-permissions-list>
<update-release-notes name="release-notes"></update-release-notes>
</named-deck>
</template>
<template name="five-star-rating">
<link rel="stylesheet" href="chrome://mozapps/content/extensions/rating-star.css">
<span class="rating-star"></span>
<span class="rating-star"></span>
<span class="rating-star"></span>
<span class="rating-star"></span>
<span class="rating-star"></span>
</template>
<template name="panel-list">
<link rel="stylesheet" href="chrome://mozapps/content/extensions/panel-list.css">
<div class="arrow top" role="presentation"></div>
<div class="list" role="presentation">
<slot></slot>
</div>
<div class="arrow bottom" role="presentation"></div>
</template>
<template name="taar-notice">
<message-bar class="discopane-notice" dismissable>
<div class="discopane-notice-content">
<span data-l10n-id="discopane-notice-recommendations"></span>
<button data-l10n-id="discopane-notice-learn-more" action="notice-learn-more"></button>
</div>
</message-bar>
</template>
<template name="recommended-footer">
<div class="amo-link-container view-footer-item">
<button class="primary" action="open-amo" data-l10n-id="find-more-addons"></button>
</div>
<div class="view-footer-item">
<a class="privacy-policy-link" data-l10n-id="privacy-policy" target="_blank"></a>
</div>
</template>
<template name="discopane">
<header>
<p>
<span data-l10n-id="discopane-intro">
<a
class="discopane-intro-learn-more-link"
is="support-link"
support-page="recommended-extensions-program"
data-l10n-name="learn-more-trigger">
</a>
</span>
</p>
</header>
<taar-notice></taar-notice>
<recommended-addon-list></recommended-addon-list>
<footer is="recommended-footer" class="view-footer"></footer>
</template>
<template name="recommended-extensions-section">
<h2 data-l10n-id="recommended-extensions-heading" class="header-name recommended-heading"></h2>
<taar-notice></taar-notice>
<recommended-addon-list type="extension" hide-installed></recommended-addon-list>
<footer is="recommended-footer" class="view-footer"></footer>
</template>
<template name="recommended-themes-footer">
<p data-l10n-id="recommended-theme-1" class="theme-recommendation">
<a data-l10n-name="link" target="_blank"></a>
</p>
<div class="amo-link-container view-footer-item">
<button class="primary" action="open-amo" data-l10n-id="find-more-addons"></button>
</div>
</template>
<template name="recommended-themes-section">
<h2 data-l10n-id="recommended-themes-heading" class="header-name recommended-heading"></h2>
<recommended-addon-list type="theme" hide-installed></recommended-addon-list>
<footer is="recommended-themes-footer" class="view-footer"></footer>
</template>
<template id="shortcut-view">
<div class="error-message">
<img class="error-message-icon" src="chrome://global/skin/arrow/panelarrow-vertical.svg">
<div class="error-message-label"></div>
</div>
<message-bar-stack id="duplicate-warning-messages" reverse max-message-bar-count="5">
</message-bar-stack>
</template>
<template id="shortcut-card-template">
<div class="card shortcut">
<div class="card-heading">
<img class="card-heading-icon addon-icon">
<h2 class="addon-name"></h2>
</div>
</div>
</template>
<template id="shortcut-row-template">
<div class="shortcut-row">
<label class="shortcut-label"></label>
<input class="shortcut-input" data-l10n-id="shortcuts-input" type="text" readonly>
<button class="shortcut-remove-button ghost-button"></button>
</div>
</template>
<template id="expand-row-template">
<div class="expand-row">
<button class="expand-button"></button>
</div>
</template>
<template id="shortcuts-no-addons">
<div data-l10n-id="shortcuts-no-addons"></div>
</template>
<template id="shortcuts-no-commands-template">
<div data-l10n-id="shortcuts-no-commands"></div>
<ul class="shortcuts-no-commands-list"></ul>
</template>
</body>
</html>
|