-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbrowser.xhtml
5797 lines (5488 loc) · 273 KB
/
browser.xhtml
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
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<html id="main-window"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns="http://www.w3.org/1999/xhtml"
data-l10n-id="browser-main-window-window-titles"
data-l10n-args="{"content-title":"CONTENTTITLE"}"
data-l10n-attrs="data-content-title-default, data-content-title-private, data-title-default, data-title-private"
chromemargin="0,2,2,2"
tabsintitlebar="true"
windowtype="navigator:browser"
macanimationtype="document"
macnativefullscreen="true"
screenX="4" screenY="4"
sizemode="normal"
retargetdocumentfocus="urlbar-input"
scrolling="false"
persist="screenX screenY width height sizemode"
data-l10n-sync="true">
<head>
<!-- The "global.css" stylesheet is imported first to allow other stylesheets to
override rules using selectors with the same specificity. This applies to
both "content" and "skin" packages, which bug 1385444 will unify later. -->
<link rel="stylesheet" href="chrome://global/skin/global.css" />
<link
rel="stylesheet"
href="chrome://browser/content/downloads/downloads.css"
/>
<link rel="stylesheet" href="chrome://browser/content/places/places.css" />
<link
rel="stylesheet"
href="chrome://browser/content/usercontext/usercontext.css"
/>
<link rel="stylesheet" href="chrome://browser/skin/" />
<link rel="stylesheet" href="chrome://browser/skin/controlcenter/panel.css" />
<link
rel="stylesheet"
href="chrome://browser/skin/customizableui/panelUI.css"
/>
<link rel="stylesheet" href="chrome://browser/skin/downloads/downloads.css" />
<link rel="stylesheet" href="chrome://browser/skin/translations/panel.css" />
<link rel="stylesheet" href="chrome://browser/skin/places/tree-icons.css" />
<link rel="stylesheet" href="chrome://browser/skin/places/editBookmark.css" />
<link rel="localization" href="branding/brand.ftl"/>
<link rel="localization" href="browser/allTabsMenu.ftl"/>
<link rel="localization" href="browser/appmenu.ftl"/>
<link rel="localization" href="browser/browser.ftl"/>
<link rel="localization" href="browser/browserContext.ftl"/>
<link rel="localization" href="browser/browserSets.ftl"/>
<link rel="localization" href="browser/firefoxView.ftl"/>
<link rel="localization" href="browser/genai.ftl"/>
<link rel="localization" href="browser/identityCredentialNotification.ftl" />
<link rel="localization" href="browser/menubar.ftl"/>
<link rel="localization" href="browser/originControls.ftl"/>
<link rel="localization" href="browser/panelUI.ftl"/>
<link rel="localization" href="browser/places.ftl"/>
<link rel="localization" href="browser/protectionsPanel.ftl"/>
<link rel="localization" href="browser/reportBrokenSite.ftl"/>
<link rel="localization" href="browser/screenshots.ftl"/>
<link rel="localization" href="browser/search.ftl"/>
<link rel="localization" href="browser/sidebarMenu.ftl"/>
<link rel="localization" href="browser/tabbrowser.ftl"/>
<link rel="localization" href="browser/toolbarContextMenu.ftl"/>
<link rel="localization" href="browser/translations.ftl" />
<link rel="localization" href="browser/unifiedExtensions.ftl"/>
<link rel="localization" href="browser/webrtcIndicator.ftl"/>
<link rel="localization" href="toolkit/branding/brandings.ftl"/>
<link rel="localization" href="toolkit/global/contextual-identity.ftl"/>
<link rel="localization" href="toolkit/global/textActions.ftl"/>
<link rel="localization" href="toolkit/printing/printUI.ftl"/>
<!-- Untranslated FTL files -->
<link rel="localization" href="preview/credentialChooser.ftl" />
<link rel="localization" href="preview/enUS-searchFeatures.ftl" />
<link rel="localization" href="preview/interventions.ftl" />
<link rel="localization" href="browser/shopping.ftl"/>
<link rel="localization" href="preview/shopping.ftl"/>
<link rel="localization" href="browser/sidebar.ftl"/>
<link rel="localization" href="preview/profiles.ftl"/>
<link rel="localization" href="preview/onboarding.ftl"/>
<link rel="localization" href="preview/firefoxRelayToAllBrowsers.ftl"/>
<link rel="localization" href="preview/tabGroups.ftl"/>
<title data-l10n-id="browser-main-window-title"></title>
<script type="text/javascript">
Services.scriptloader.loadSubScript("chrome://browser/content/browser.js", this);
Services.scriptloader.loadSubScript("chrome://browser/content/places/browserPlacesViews.js", this);
Services.scriptloader.loadSubScript("chrome://browser/content/browser-places.js", this);
Services.scriptloader.loadSubScript("chrome://global/content/globalOverlay.js", this);
Services.scriptloader.loadSubScript("chrome://global/content/editMenuOverlay.js", this);
Services.scriptloader.loadSubScript("chrome://browser/content/utilityOverlay.js", this);
Services.scriptloader.loadSubScript("chrome://browser/content/browser-sets.js", this);
if (AppConstants.platform == "macosx") {
Services.scriptloader.loadSubScript("chrome://global/content/macWindowMenu.js", this);
}
</script>
<script>
/* eslint-env mozilla/browser-window */
Services.scriptloader.loadSubScript("chrome://browser/content/browser-init.js", this);
Services.scriptloader.loadSubScript("chrome://global/content/contentAreaUtils.js", this);
Services.scriptloader.loadSubScript("chrome://browser/content/browser-captivePortal.js", this);
if (AppConstants.MOZ_DATA_REPORTING) {
Services.scriptloader.loadSubScript("chrome://browser/content/browser-data-submission-info-bar.js", this);
}
if (!AppConstants.MOZILLA_OFFICIAL) {
Services.scriptloader.loadSubScript("chrome://browser/content/browser-development-helpers.js", this);
}
Services.scriptloader.loadSubScript("chrome://browser/content/browser-pageActions.js", this);
Services.scriptloader.loadSubScript("chrome://browser/content/sidebar/browser-sidebar.js", this);
Services.scriptloader.loadSubScript("chrome://browser/content/browser-tabsintitlebar.js", this);
Services.scriptloader.loadSubScript("chrome://browser/content/browser-unified-extensions.js", this);
Services.scriptloader.loadSubScript("chrome://browser/content/tabbrowser/tab.js", this);
Services.scriptloader.loadSubScript("chrome://browser/content/tabbrowser/tabbrowser.js", this);
Services.scriptloader.loadSubScript("chrome://browser/content/tabbrowser/tabgroup.js", this);
Services.scriptloader.loadSubScript("chrome://browser/content/tabbrowser/tabgroup-menu.js", this);
Services.scriptloader.loadSubScript("chrome://browser/content/tabbrowser/tabs.js", this);
Services.scriptloader.loadSubScript("chrome://browser/content/places/places-menupopup.js", this);
Services.scriptloader.loadSubScript("chrome://browser/content/search/autocomplete-popup.js", this);
Services.scriptloader.loadSubScript("chrome://browser/content/search/searchbar.js", this);
Services.scriptloader.loadSubScript("chrome://browser/content/shopping/shopping-sidebar.js", this);
window.onload = gBrowserInit.onLoad.bind(gBrowserInit);
window.onunload = gBrowserInit.onUnload.bind(gBrowserInit);
window.onclose = WindowIsClosing;
window.addEventListener("MozBeforeInitialXULLayout",
gBrowserInit.onBeforeInitialXULLayout.bind(gBrowserInit), { once: true });
// The listener of DOMContentLoaded must be set on window, rather than
// document, because the window can go away before the event is fired.
// In that case, we don't want to initialize anything, otherwise we
// may be leaking things because they will never be destroyed after.
window.addEventListener("DOMContentLoaded",
gBrowserInit.onDOMContentLoaded.bind(gBrowserInit), { once: true });
</script>
</head>
<html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" class="zZHaOZz">
<stringbundleset id="stringbundleset">
<stringbundle id="bundle_brand" src="chrome://branding/locale/brand.properties"/>
<stringbundle id="bundle_shell" src="chrome://browser/locale/shellservice.properties"/>
</stringbundleset>
<!-- The event listeners are defined by _initCommandSet in browser-init.js -->
<commandset id="mainCommandSet">
<command id="cmd_newNavigator" />
<command id="cmd_handleBackspace" />
<command id="cmd_handleShiftBackspace" />
<command id="cmd_newNavigatorTab" />
<command id="cmd_newNavigatorTabNoEvent" />
<command id="Browser:OpenFile" />
<command id="Browser:SavePage" />
<command id="Browser:SendLink" />
<command id="cmd_pageSetup" />
<command id="cmd_print" />
<command id="cmd_printPreviewToggle" />
<command id="cmd_file_importFromAnotherBrowser" />
<command id="cmd_help_importFromAnotherBrowser" />
<command id="cmd_close" />
<command id="cmd_closeWindow" />
<command id="cmd_toggleMute" />
<command id="cmd_CustomizeToolbars" oncommand="gCustomizeMode.enter();" />
<command id="cmd_toggleOfflineStatus" />
<command id="cmd_quitApplication" />
<command id="View:AboutProcesses" />
<command id="View:PageSource" />
<command id="View:PageInfo" />
<command id="View:FullScreen" oncommand="BrowserCommands.fullScreen();" />
<command id="View:ReaderView" oncommand="AboutReaderParent.toggleReaderMode(event);" />
<command id="View:PictureInPicture" />
<command id="cmd_find" />
<command id="cmd_findAgain" />
<command id="cmd_findPrevious" />
<command id="cmd_reportBrokenSite"/>
<command id="cmd_translate" />
<!-- work-around bug 392512 -->
<command id="Browser:AddBookmarkAs" />
<command id="Browser:SearchBookmarks" />
<command id="Browser:BookmarkAllTabs"/>
<command id="Browser:Back" disabled="true" />
<command id="Browser:BackOrBackDuplicate" disabled="true">
<observes element="Browser:Back" attribute="disabled"/>
</command>
<command id="Browser:Forward" disabled="true" />
<command id="Browser:ForwardOrForwardDuplicate" disabled="true">
<observes element="Browser:Forward" attribute="disabled"/>
</command>
<command id="Browser:Stop" disabled="true" />
<command id="Browser:Reload" disabled="true" />
<command id="Browser:ReloadOrDuplicate" disabled="true">
<observes element="Browser:Reload" attribute="disabled"/>
</command>
<command id="Browser:ReloadSkipCache" disabled="true">
<observes element="Browser:Reload" attribute="disabled"/>
</command>
<command id="Browser:NextTab" />
<command id="Browser:PrevTab" />
<command id="Browser:ShowAllTabs" />
<command id="cmd_fullZoomReduce" />
<command id="cmd_fullZoomEnlarge" />
<command id="cmd_fullZoomReset" />
<command id="cmd_fullZoomToggle" />
<command id="cmd_gestureRotateLeft" />
<command id="cmd_gestureRotateRight" />
<command id="cmd_gestureRotateEnd" />
<command id="Browser:OpenLocation" />
<command id="Browser:RestoreLastSession" disabled="true"/>
<command id="Browser:NewUserContextTab" />
<command id="Browser:OpenAboutContainers" />
<command id="Tools:Search" />
<command id="Tools:Downloads" />
<command id="Tools:Addons" />
<command id="Tools:Sanitize" />
<command id="Tools:PrivateBrowsing" />
<command id="Browser:Screenshot" />
<command id="History:UndoCloseTab" oncommand="undoCloseTab();" data-l10n-args='{"tabCount": 1}' />
<command id="History:UndoCloseWindow" />
<command id="History:RestoreLastClosedTabOrWindowOrSession" />
<command id="History:SearchHistory" />
<command id="wrCaptureCmd" disabled="true"/>
<command id="wrToggleCaptureSequenceCmd" disabled="true"/>
<!-- Custom command -->
<command id="cmd_copyOpenTabLink" oncommand="navigator.clipboard.writeText(gBrowser.currentURI.spec);StatusPanel._label = 'URL Copied';"/>
</commandset>
<commandset id="placesCommands"
commandupdater="true"
events="focus,sort,places">
<script src="chrome://browser/content/places/places-commands.js" />
<command id="Browser:ShowAllBookmarks"/>
<command id="Browser:ShowAllHistory"/>
<command id="placesCmd_open"/>
<command id="placesCmd_open:window"/>
<command id="placesCmd_open:privatewindow"/>
<command id="placesCmd_open:tab"/>
<command id="placesCmd_new:bookmark"/>
<command id="placesCmd_new:folder"/>
<command id="placesCmd_new:separator"/>
<command id="placesCmd_show:info"/>
<command id="placesCmd_sortBy:name"/>
<command id="placesCmd_deleteDataHost"/>
<command id="placesCmd_createBookmark"/>
<!-- Special versions of cut/copy/paste/delete which check for an open context menu. -->
<command id="placesCmd_cut"/>
<command id="placesCmd_copy"/>
<command id="placesCmd_paste"/>
<command id="placesCmd_delete"/>
<command id="placesCmd_showInFolder"/>
</commandset>
<keyset id="mainKeyset">
<key id="key_newNavigator"
data-l10n-id="window-new-shortcut"
command="cmd_newNavigator"
modifiers="accel" reserved="true"/>
<key id="key_newNavigatorTab" data-l10n-id="tab-new-shortcut" modifiers="accel"
command="cmd_newNavigatorTabNoEvent" reserved="true"/>
<key id="focusURLBar" data-l10n-id="location-open-shortcut" command="Browser:OpenLocation"
modifiers="accel"/>
<key id="focusURLBar2" data-l10n-id="location-open-shortcut-alt" command="Browser:OpenLocation"
modifiers="alt"/>
<key id="key_search" data-l10n-id="search-focus-shortcut" command="Tools:Search" modifiers="accel"/>
<key id="key_search2"
data-l10n-id="search-focus-shortcut-alt"
modifiers="accel"
command="Tools:Search"/>
<key id="key_openDownloads"
data-l10n-id="downloads-shortcut"
modifiers="accel"
command="Tools:Downloads"/>
<key id="key_openAddons" data-l10n-id="addons-shortcut" command="Tools:Addons" modifiers="accel,shift"/>
<key id="openFileKb" data-l10n-id="file-open-shortcut" command="Browser:OpenFile" modifiers="accel"/>
<key id="key_savePage" data-l10n-id="save-page-shortcut" command="Browser:SavePage" modifiers="accel"/>
<key id="printKb" data-l10n-id="print-shortcut" command="cmd_print" modifiers="accel"/>
<key id="key_close" data-l10n-id="close-shortcut" command="cmd_close" modifiers="accel" reserved="true"/>
<key id="key_closeWindow" data-l10n-id="close-shortcut" command="cmd_closeWindow" modifiers="accel,shift" reserved="true"/>
<key id="key_toggleMute" data-l10n-id="mute-toggle-shortcut" command="cmd_toggleMute" modifiers="control"/>
<key id="key_undo"
data-l10n-id="text-action-undo-shortcut"
modifiers="accel"
internal="true"/>
<key id="key_redo"
data-l10n-id="text-action-redo-shortcut"
modifiers="accel"
internal="true"/>
<key id="key_cut"
data-l10n-id="text-action-cut-shortcut"
modifiers="accel"
internal="true"/>
<key id="key_copy"
data-l10n-id="text-action-copy-shortcut"
modifiers="accel"
internal="true"/>
<key id="key_paste"
data-l10n-id="text-action-paste-shortcut"
modifiers="accel"
internal="true"/>
<key id="key_delete" keycode="VK_DELETE" command="cmd_delete" reserved="false"/>
<key id="key_selectAll" data-l10n-id="text-action-select-all-shortcut" modifiers="accel" internal="true"/>
<key keycode="VK_BACK" command="cmd_handleBackspace" reserved="false"/>
<key keycode="VK_BACK" command="cmd_handleShiftBackspace" modifiers="shift" reserved="false"/>
<key id="goBackKb" keycode="VK_LEFT" command="Browser:Back" modifiers="alt"/>
<key id="goForwardKb" keycode="VK_RIGHT" command="Browser:Forward" modifiers="alt"/>
<key id="goHome" keycode="VK_HOME" modifiers="alt"/>
<key keycode="VK_F5" command="Browser:Reload"/>
<key id="showAllHistoryKb" data-l10n-id="history-show-all-shortcut" command="Browser:ShowAllHistory" modifiers="accel,shift"/>
<key keycode="VK_F5" command="Browser:ReloadSkipCache" modifiers="accel"/>
<key id="key_enterFullScreen" keycode="VK_F11" command="View:FullScreen"/>
<key id="key_exitFullScreen" keycode="VK_F11" command="View:FullScreen" reserved="true" disabled="true"/>
<key id="key_toggleReaderMode"
command="View:ReaderView"
data-l10n-id="reader-mode-toggle-shortcut-windows"
disabled="true"/>
<key id="key_togglePictureInPicture" data-l10n-id="picture-in-picture-toggle-shortcut" command="View:PictureInPicture" modifiers="accel,shift"/>
<key data-l10n-id="picture-in-picture-toggle-shortcut-alt" command="View:PictureInPicture" modifiers="accel,shift"/>
<key data-l10n-id="nav-reload-shortcut" command="Browser:Reload" modifiers="accel" id="key_reload"/>
<key data-l10n-id="nav-reload-shortcut" command="Browser:ReloadSkipCache" modifiers="accel,shift" id="key_reload_skip_cache"/>
<key id="key_aboutProcesses" command="View:AboutProcesses" keycode="VK_ESCAPE" modifiers="shift"/>
<key id="key_viewSource" data-l10n-id="page-source-shortcut" command="View:PageSource" modifiers="accel"/>
<key id="key_viewInfo" data-l10n-id="page-info-shortcut" command="View:PageInfo" modifiers="accel"/>
<key id="key_find" data-l10n-id="find-shortcut" command="cmd_find" modifiers="accel"/>
<key id="key_findAgain" data-l10n-id="search-find-again-shortcut" command="cmd_findAgain" modifiers="accel"/>
<key id="key_findPrevious" data-l10n-id="search-find-again-shortcut" command="cmd_findPrevious" modifiers="accel,shift"/>
<key data-l10n-id="search-find-again-shortcut-alt" command="cmd_findAgain"/>
<key data-l10n-id="search-find-again-shortcut-alt" command="cmd_findPrevious" modifiers="shift"/>
<key id="addBookmarkAsKb" data-l10n-id="bookmark-this-page-shortcut" command="Browser:AddBookmarkAs" modifiers="accel"/>
<key id="bookmarkAllTabsKb"
data-l10n-id="bookmark-this-page-shortcut"
modifiers="accel,shift"/>
<key id="manBookmarkKb" data-l10n-id="bookmark-show-library-shortcut" command="Browser:ShowAllBookmarks" modifiers="accel,shift"/>
<key id="viewBookmarksSidebarKb"
data-l10n-id="bookmark-show-sidebar-shortcut"
modifiers="accel"/>
<key id="viewBookmarksToolbarKb"
data-l10n-id="bookmark-show-toolbar-shortcut"
modifiers="accel,shift"/>
<key id="key_stop" keycode="VK_ESCAPE" command="Browser:Stop"/>
<key id="key_gotoHistory"
data-l10n-id="history-sidebar-shortcut"
modifiers="accel"
/>
<key id="key_fullZoomReduce" data-l10n-id="full-zoom-reduce-shortcut" command="cmd_fullZoomReduce" modifiers="accel"/>
<key data-l10n-id="full-zoom-reduce-shortcut-alt-a" command="cmd_fullZoomReduce" modifiers="accel"/>
<key data-l10n-id="full-zoom-reduce-shortcut-alt-b" command="cmd_fullZoomReduce" modifiers="accel"/>
<key id="key_fullZoomEnlarge" data-l10n-id="full-zoom-enlarge-shortcut" command="cmd_fullZoomEnlarge" modifiers="accel"/>
<key data-l10n-id="full-zoom-enlarge-shortcut-alt" command="cmd_fullZoomEnlarge" modifiers="accel"/>
<key data-l10n-id="full-zoom-enlarge-shortcut-alt2" command="cmd_fullZoomEnlarge" modifiers="accel"/>
<key id="key_fullZoomReset" data-l10n-id="full-zoom-reset-shortcut" command="cmd_fullZoomReset" modifiers="accel"/>
<key data-l10n-id="full-zoom-reset-shortcut-alt" command="cmd_fullZoomReset" modifiers="accel"/>
<key id="key_showAllTabs" keycode="VK_TAB" modifiers="control,shift"/>
<key id="key_switchTextDirection" data-l10n-id="bidi-switch-direction-shortcut" command="cmd_switchTextDirection" modifiers="accel,shift" />
<key id="key_privatebrowsing" command="Tools:PrivateBrowsing" data-l10n-id="private-browsing-shortcut"
modifiers="accel,shift" reserved="true"/>
<key id="key_screenshot" data-l10n-id="screenshot-shortcut" command="Browser:Screenshot" modifiers="accel,shift"/>
<key id="key_sanitize" command="Tools:Sanitize" keycode="VK_DELETE" modifiers="accel,shift"/>
<key id="key_quitApplication" data-l10n-id="quit-app-shortcut"
modifiers="accel,shift"
command="cmd_quitApplication"
reserved="true"/>
<key id="key_restoreLastClosedTabOrWindowOrSession" command="History:RestoreLastClosedTabOrWindowOrSession" data-l10n-id="tab-new-shortcut" modifiers="accel,shift"/>
<key id="key_undoCloseWindow" command="History:UndoCloseWindow" data-l10n-id="window-new-shortcut" modifiers="accel,shift"/>
<key id="key_selectTab1" key="1" modifiers="accel"/>
<key id="key_selectTab2" key="2" modifiers="accel"/>
<key id="key_selectTab3" key="3" modifiers="accel"/>
<key id="key_selectTab4" key="4" modifiers="accel"/>
<key id="key_selectTab5" key="5" modifiers="accel"/>
<key id="key_selectTab6" key="6" modifiers="accel"/>
<key id="key_selectTab7" key="7" modifiers="accel"/>
<key id="key_selectTab8" key="8" modifiers="accel"/>
<key id="key_selectLastTab" key="9" modifiers="accel"/>
<key id="key_wrCaptureCmd"
key="#" modifiers="control"
command="wrCaptureCmd"/>
<key id="key_wrToggleCaptureSequenceCmd"
key="^" modifiers="control"
command="wrToggleCaptureSequenceCmd"/>
<!-- Custom Keyset -->
<key id="key_copyOpenTabLink" command="cmd_copyOpenTabLink" key="C" modifiers="accel,shift"/>
<key id="key_selectLastTab2" oncommand="gBrowser.selectTabAtIndex(-1, event);" key="`" modifiers="accel"/>
</keyset>
<popupset id="mainPopupSet">
<script src="chrome://browser/content/main-popupset.js" />
<menupopup id="tabContextMenu">
<menuitem id="context_openANewTab" data-lazy-l10n-id="tab-context-new-tab-open"/>
<menuitem id="context_moveTabToNewGroup"
data-lazy-l10n-id="tab-context-move-tab-to-new-group"
data-l10n-args='{"tabCount": 1}'
hidden="true"/>
<menu id="context_moveTabToGroup"
data-lazy-l10n-id="tab-context-move-tab-to-group"
data-l10n-args='{"tabCount": 1}'
hidden="true">
<menupopup id="context_moveTabToGroupPopupMenu">
<menuitem id="context_moveTabToGroupNewGroup"
data-lazy-l10n-id="tab-context-new-group"/>
<menuseparator/>
</menupopup>
</menu>
<menuitem id="context_ungroupTab"
data-lazy-l10n-id="tab-context-ungroup-tab"
data-l10n-args='{"groupCount": 1}'
hidden="true"/>
<menuseparator/>
<menuitem id="context_reloadTab" data-lazy-l10n-id="reload-tab"/>
<menuitem id="context_reloadSelectedTabs" data-lazy-l10n-id="reload-tabs" hidden="true"/>
<menuitem id="context_playTab" data-lazy-l10n-id="tab-context-play-tab" hidden="true"/>
<menuitem id="context_playSelectedTabs" data-lazy-l10n-id="tab-context-play-tabs" hidden="true"/>
<menuitem id="context_toggleMuteTab" />
<menuitem id="context_toggleMuteSelectedTabs" hidden="true"/>
<menuitem id="context_pinTab" data-lazy-l10n-id="pin-tab"/>
<menuitem id="context_unpinTab" data-lazy-l10n-id="unpin-tab" hidden="true"/>
<menuitem id="context_pinSelectedTabs" data-lazy-l10n-id="pin-selected-tabs" hidden="true"/>
<menuitem id="context_unpinSelectedTabs" data-lazy-l10n-id="unpin-selected-tabs" hidden="true"/>
<menuitem id="context_duplicateTab" data-lazy-l10n-id="duplicate-tab"/>
<menuitem id="context_duplicateTabs" data-lazy-l10n-id="duplicate-tabs"/>
<menuseparator/>
<menuitem id="context_bookmarkSelectedTabs"
hidden="true"
data-lazy-l10n-id="bookmark-selected-tabs"/>
<menuitem id="context_bookmarkTab"
data-lazy-l10n-id="tab-context-bookmark-tab"/>
<menu id="context_moveTabOptions"
data-lazy-l10n-id="tab-context-move-tabs"
data-l10n-args='{"tabCount": 1}'>
<menupopup id="moveTabOptionsMenu">
<menuitem id="context_moveToStart"
data-lazy-l10n-id="move-to-start"
tbattr="tabbrowser-multiple-visible"/>
<menuitem id="context_moveToEnd"
data-lazy-l10n-id="move-to-end"
tbattr="tabbrowser-multiple-visible"/>
<menuitem id="context_openTabInWindow" data-lazy-l10n-id="move-to-new-window"
tbattr="tabbrowser-multiple-visible"/>
</menupopup>
</menu>
<menu id="context_sendTabToDevice"
class="sync-ui-item"
data-lazy-l10n-id="tab-context-send-tabs-to-device"
data-l10n-args='{"tabCount": 1}'>
<menupopup id="context_sendTabToDevicePopupMenu"/>
</menu>
<menu id="context_reopenInContainer"
data-lazy-l10n-id="tab-context-open-in-new-container-tab"
hidden="true">
<menupopup id="context_reopenInContainerPopupMenu"/>
</menu>
<menuitem id="context_selectAllTabs" data-lazy-l10n-id="select-all-tabs"/>
<menuseparator/>
<menuitem id="context_closeTab"
data-lazy-l10n-id="tab-context-close-n-tabs"
data-l10n-args='{"tabCount": 1}'/>
<menuitem id="context_closeDuplicateTabs"
data-lazy-l10n-id="tab-context-close-duplicate-tabs"/>
<menu id="context_closeTabOptions"
data-lazy-l10n-id="tab-context-close-multiple-tabs">
<menupopup id="closeTabOptions">
<menuitem id="context_closeTabsToTheStart" data-lazy-l10n-id="close-tabs-to-the-start"/>
<menuitem id="context_closeTabsToTheEnd" data-lazy-l10n-id="close-tabs-to-the-end"/>
<menuitem id="context_closeOtherTabs" data-lazy-l10n-id="close-other-tabs"/>
</menupopup>
</menu>
<menuitem id="context_undoCloseTab"
data-lazy-l10n-id="tab-context-reopen-closed-tabs"
data-l10n-args='{"tabCount": 1}'
observes="History:UndoCloseTab"/>
<menuseparator contexttype="fullscreen"/>
<menuitem id="context_fullscreenAutohide"
class="fullscreen-context-autohide"
contexttype="fullscreen"
type="checkbox"
data-lazy-l10n-id="full-screen-autohide"/>
<menuitem id="context_fullscreenExit"
contexttype="fullscreen"
data-lazy-l10n-id="full-screen-exit"/>
</menupopup>
<!-- This node can be cloned by SetClickAndHoldHandlers. -->
<menupopup id="backForwardMenu"/>
<tooltip id="aHTMLTooltip" page="true"/>
<tooltip id="remoteBrowserTooltip"/>
<!-- This node can be cloned by MozTabbrowserTabs.observes. -->
<menupopup id="new-tab-button-popup"/>
<!-- for search and content formfill/pw manager -->
<tabgroup-menu id="tab-group-editor"></tabgroup-menu>
<panel is="autocomplete-richlistbox-popup"
type="autocomplete-richlistbox"
id="PopupAutoComplete"
role="group"
noautofocus="true"
hidden="true"
overflowpadding="4"
norolluponanchor="true"
nomaxresults="true" />
<!-- for search with one-off buttons -->
<panel is="search-autocomplete-richlistbox-popup"
type="autocomplete-richlistbox"
id="PopupSearchAutoComplete"
orient="vertical"
role="group"
noautofocus="true"
hidden="true" />
<panel id="searchmode-switcher-popup"
class="panel-no-padding"
orient="vertical"
type="autocomplete-richlistbox"
role="menu"
consumeoutsideclicks="false"
aria-labelledby="searchmode-switcher-popup-description">
<label data-l10n-id="urlbar-searchmode-popup-description" id="searchmode-switcher-popup-description" />
<toolbarseparator />
<vbox class="panel-subview-body"></vbox>
<toolbarseparator />
<toolbarbutton class="subviewbutton subviewbutton-iconic panel-subview-footer-button"
data-action="openpreferences"
id="searchmode-switcher-popup-search-settings-button"
role="button"
tabindex="0">
<image id="searchmode-switcher-popup-search-settings-icon" />
<label data-l10n-id="urlbar-searchmode-popup-search-settings" />
</toolbarbutton>
</panel>
<panel class="panel-no-padding"
id="ask-chat-shortcuts"
noautofocus="true"
type="arrow">
<vbox class="panel-subview-body"/>
</panel>
<html:template id="screenshotsPagePanelTemplate">
<box id="screenshotsPagePanel" hidden="true">
<screenshots-buttons></screenshots-buttons>
</box>
</html:template>
<html:template id="invalidFormTemplate">
<!-- for invalid form error message -->
<panel id="invalid-form-popup" type="arrow" orient="vertical" noautofocus="true" level="parent" locationspecific="true">
<description/>
</panel>
</html:template>
<html:template id="editBookmarkPanelTemplate">
<panel id="editBookmarkPanel"
class="panel-no-padding"
type="arrow"
orient="vertical"
ignorekeys="true"
hidden="true"
tabspecific="true"
aria-labelledby="editBookmarkPanelTitle">
<box class="panel-header">
<html:h1>
<html:span id="editBookmarkPanelTitle"/>
</html:h1>
</box>
<toolbarseparator id="editBookmarkHeaderSeparator"></toolbarseparator>
<vbox class="panel-subview-body">
<div id="editBookmarkPanelContent">
<label id="editBMPanel_itemsCountText"
class="editBMPanel_selectionCount"/>
<label data-l10n-id="bookmark-overlay-name-2"
class="editBMPanel_nameRow hideable"
control="editBMPanel_namePicker"/>
<html:input id="editBMPanel_namePicker"
class="editBMPanel_nameRow hideable"
type="text"
onchange="gEditItemOverlay.onNamePickerChange().catch(Cu.reportError);"/>
<label data-l10n-id="bookmark-overlay-url"
class="editBMPanel_locationRow hideable"
control="editBMPanel_locationField"/>
<html:input id="editBMPanel_locationField"
class="editBMPanel_locationRow uri-element hideable"
type="text"
onchange="gEditItemOverlay.onLocationFieldChange();"/>
<label data-l10n-id="bookmark-overlay-location-2"
class="editBMPanel_folderRow hideable"
control="editBMPanel_folderMenuList"/>
<hbox class="editBMPanel_folderRow hideable">
<menulist id="editBMPanel_folderMenuList"
class="folder-icon"
flex="1"
size="large"
oncommand="gEditItemOverlay.onFolderMenuListCommand(event).catch(Cu.reportError);">
<menupopup>
<!-- Static item for special folders -->
<menuitem id="editBMPanel_toolbarFolderItem"
class="menuitem-iconic folder-icon"/>
<menuitem id="editBMPanel_bmRootItem"
class="menuitem-iconic folder-icon"/>
<menuitem id="editBMPanel_unfiledRootItem"
class="menuitem-iconic folder-icon"/>
<menuseparator id="editBMPanel_chooseFolderSeparator"/>
<menuitem id="editBMPanel_chooseFolderMenuItem"
data-l10n-id="bookmark-overlay-choose"
class="menuitem-iconic folder-icon"/>
<menuseparator id="editBMPanel_foldersSeparator" hidden="true"/>
</menupopup>
</menulist>
<button id="editBMPanel_foldersExpander"
class="expander-down panel-button"
data-l10n-id="bookmark-overlay-folders-expander2"
oncommand="gEditItemOverlay.toggleFolderTreeVisibility();"/>
</hbox>
<vbox id="editBMPanel_folderTreeRow"
class="hideable"
hidden="true">
<!-- editBMPanel_folderTree will go here when this is shown -->
<hbox id="editBMPanel_newFolderBox">
<button data-l10n-id="bookmark-overlay-new-folder-button"
id="editBMPanel_newFolderButton"
oncommand="gEditItemOverlay.newFolder().catch(Cu.reportError);"/>
</hbox>
</vbox>
<label data-l10n-id="bookmark-overlay-tags-2"
class="editBMPanel_tagsRow hideable"
control="editBMPanel_tagsField"/>
<hbox class="editBMPanel_tagsRow hideable">
<html:input id="editBMPanel_tagsField"
type="text"
is="autocomplete-input"
style="flex: 1;"
autocompletesearch="places-tag-autocomplete"
autocompletepopup="editBMPanel_tagsAutocomplete"
completedefaultindex="true"
completeselectedindex="true"
tabscrolling="true"
data-l10n-id="bookmark-overlay-tags-empty-description"
data-l10n-attrs="placeholder"
aria-describedby="tags-field-info"
onchange="gEditItemOverlay.onTagsFieldChange();"/>
<popupset>
<panel is="autocomplete-richlistbox-popup"
type="autocomplete-richlistbox"
id="editBMPanel_tagsAutocomplete"
role="group"
noautofocus="true"
hidden="true"
overflowpadding="4"
norolluponanchor="true"
nomaxresults="true"/>
</popupset>
<button id="editBMPanel_tagsSelectorExpander"
class="expander-down panel-button"
data-l10n-id="bookmark-overlay-tags-expander2"
oncommand="gEditItemOverlay.toggleTagsSelector().catch(Cu.reportError);"/>
</hbox>
<div id="tags-field-info"
class="editBMPanel_tagsRow caption-label hideable"
data-l10n-id="bookmark-overlay-tags-caption-label"/>
<div id="editBMPanel_tagsSelectorRow"
class="hideable"
hidden="true">
<richlistbox id="editBMPanel_tagsSelector" styled="true"/>
</div>
<label data-l10n-id="bookmark-overlay-keyword-2"
class="editBMPanel_keywordRow hideable"
control="editBMPanel_keywordField"/>
<html:input id="editBMPanel_keywordField"
class="editBMPanel_keywordRow hideable"
type="text"
aria-describedby="keyword-field-info"
onchange="gEditItemOverlay.onKeywordFieldChange();"/>
<div id="keyword-field-info"
class="editBMPanel_keywordRow caption-label hideable"
data-l10n-id="bookmark-overlay-keyword-caption-label-2"/>
</div>
<vbox id="editBookmarkPanelBottomContent"
flex="1">
<checkbox id="editBookmarkPanel_showForNewBookmarks"
data-l10n-id="bookmark-panel-show-editor-checkbox"/>
</vbox>
<html:moz-button-group
class="panel-footer"
data-l10n-id="bookmark-panel"
data-l10n-attrs="style">
<button id="editBookmarkPanelDoneButton"
class="footer-button"
data-l10n-id="bookmark-panel-save-button"
default="true"/>
<button id="editBookmarkPanelRemoveButton"
class="footer-button"/>
</html:moz-button-group>
</vbox>
</panel>
</html:template>
<html:template id="UITourTooltipTemplate">
<!-- UI tour experience -->
<panel id="UITourTooltip"
type="arrow"
noautofocus="true"
noautohide="true"
align="start"
orient="vertical"
role="alert">
<vbox>
<hbox id="UITourTooltipBody">
<image id="UITourTooltipIcon"/>
<vbox flex="1">
<hbox id="UITourTooltipTitleContainer">
<label id="UITourTooltipTitle" flex="1"/>
<toolbarbutton id="UITourTooltipClose" class="close-icon"
data-l10n-id="ui-tour-info-panel-close"/>
</hbox>
<description id="UITourTooltipDescription" flex="1"/>
</vbox>
</hbox>
<hbox id="UITourTooltipButtons" flex="1" align="center"/>
</vbox>
</panel>
</html:template>
<html:template id="UITourHighlightTemplate">
<!-- type="default" forces frames to be created so that the panel's size can be determined -->
<panel id="UITourHighlightContainer"
type="default"
noautofocus="true"
noautohide="true"
flip="none"
consumeoutsideclicks="false">
<box id="UITourHighlight"></box>
</panel>
</html:template>
<html:template id="dialogStackTemplate">
<stack class="dialogStack tab-dialog-box" hidden="true">
<vbox class="dialogTemplate dialogOverlay" topmost="true" hidden="true">
<hbox class="dialogBox">
<browser class="dialogFrame"
autoscroll="false"
disablehistory="true"/>
</hbox>
</vbox>
</stack>
</html:template>
<menupopup id="sidebarMenu-popup"
class="toolbar-menupopup"
hidden="true"
position="bottomleft topleft">
<menuitem id="sidebar-switcher-bookmarks"
data-l10n-id="sidebar-menu-bookmarks"
key="viewBookmarksSidebarKb"/>
<menuitem id="sidebar-switcher-history"
data-l10n-id="sidebar-menu-history"
key="key_gotoHistory"/>
<menuitem id="sidebar-switcher-tabs"
data-l10n-id="sidebar-menu-synced-tabs"
class="sync-ui-item"/>
<menuseparator/>
<!-- Extension toolbarbuttons go here. -->
<menuseparator id="sidebar-extensions-separator"/>
<menuitem id="sidebar-reverse-position"/>
<menuseparator/>
<menuitem id="sidebar-menu-close"
data-l10n-id="sidebar-menu-close"/>
</menupopup>
<menupopup id="sidebar-context-menu">
<menuitem data-l10n-id="sidebar-context-menu-manage-extension"
id="sidebar-context-menu-manage-extension"
contexttype="extension-action"/>
<menuitem data-l10n-id="sidebar-context-menu-remove-extension"
id="sidebar-context-menu-remove-extension"
contexttype="extension-action"/>
<menuitem data-l10n-id="sidebar-context-menu-report-extension"
id="sidebar-context-menu-report-extension"
contexttype="extension-action"/>
</menupopup>
<menupopup id="sidebar-history-menu">
<menuitem data-l10n-id="sidebar-history-sort-by-date"
id="sidebar-history-sort-by-date"
type="checkbox"/>
<menuitem data-l10n-id="sidebar-history-sort-by-site"
id="sidebar-history-sort-by-site"
type="checkbox"/>
<menuseparator/>
<menuitem data-l10n-id="sidebar-history-clear"
id="sidebar-history-clear"/>
</menupopup>
<menupopup id="sidebar-history-context-menu">
<menuitem data-l10n-id="sidebar-history-context-menu-delete-page"
id="sidebar-history-context-delete-page"/>
<menuseparator/>
<menuitem data-l10n-id="sidebar-context-menu-open-in-window"
id="sidebar-history-context-open-in-window"/>
<menuitem data-l10n-id="sidebar-context-menu-open-in-private-window"
id="sidebar-history-context-open-in-private-window"/>
<menuseparator/>
<menuitem data-l10n-id="sidebar-context-menu-copy-link"
id="sidebar-history-context-copy-link"/>
</menupopup>
<menupopup id="sidebar-synced-tabs-context-menu">
<menuitem data-l10n-id="sidebar-context-menu-open-in-window"
id="sidebar-synced-tabs-context-open-in-window"/>
<menuitem data-l10n-id="sidebar-context-menu-open-in-private-window"
id="sidebar-synced-tabs-context-open-in-private-window"/>
<menuseparator/>
<menuitem data-l10n-id="sidebar-context-menu-close-remote-tab"
id="sidebar-context-menu-close-remote-tab"
data-l10n-args='{"deviceName": ""}'
disabled="true"/>
<menuseparator/>
<menuitem data-l10n-id="sidebar-context-menu-bookmark-tab"
id="sidebar-synced-tabs-context-bookmark-tab"/>
<menuitem data-l10n-id="sidebar-context-menu-copy-link"
id="sidebar-synced-tabs-context-copy-link"/>
</menupopup>
<menupopup id="toolbar-context-menu">
<menuitem id="toolbar-context-manage-extension"
data-lazy-l10n-id="toolbar-context-menu-manage-extension"
contexttype="toolbaritem"
class="customize-context-manageExtension"/>
<menuitem id="toolbar-context-remove-extension"
data-lazy-l10n-id="toolbar-context-menu-remove-extension"
contexttype="toolbaritem"
class="customize-context-removeExtension"/>
<menuitem id="toolbar-context-report-extension"
data-lazy-l10n-id="toolbar-context-menu-report-extension"
contexttype="toolbaritem"
class="customize-context-reportExtension"/>
<menuseparator/>
<menuitem id="toolbar-context-move-to-panel"
data-lazy-l10n-id="toolbar-context-menu-pin-to-overflow-menu"
contexttype="toolbaritem"
class="customize-context-moveToPanel"/>
<menuitem id="toolbar-context-autohide-downloads-button"
type="checkbox"
data-lazy-l10n-id="toolbar-context-menu-auto-hide-downloads-button-2"
contexttype="toolbaritem"/>
<menuitem id="toolbar-context-remove-from-toolbar"
data-lazy-l10n-id="toolbar-context-menu-remove-from-toolbar"
contexttype="toolbaritem"
class="customize-context-removeFromToolbar"/>
<menuitem id="toolbar-context-pin-to-toolbar"
data-lazy-l10n-id="toolbar-context-menu-pin-to-toolbar"
type="checkbox"
contexttype="toolbaritem"
class="customize-context-pinToToolbar"/>
<menuseparator id="toolbarDownloadsAnchorMenuSeparator"/>
<menuitem id="toolbar-context-always-open-downloads-panel"
type="checkbox"
data-lazy-l10n-id="toolbar-context-menu-always-open-downloads-panel"
contexttype="toolbaritem"/>
<menuitem id="toolbar-context-openANewTab"
contexttype="tabbar"
command="cmd_newNavigatorTab"
data-lazy-l10n-id="toolbar-context-menu-new-tab"/>
<menuseparator id="toolbarNavigatorItemsMenuSeparator"/>
<menuitem id="toolbar-context-reloadSelectedTab"
contexttype="tabbar"
data-lazy-l10n-id="toolbar-context-menu-reload-selected-tab"/>
<menuitem id="toolbar-context-reloadSelectedTabs"
contexttype="tabbar"
data-lazy-l10n-id="toolbar-context-menu-reload-selected-tabs"/>
<menuitem id="toolbar-context-bookmarkSelectedTab"
contexttype="tabbar"
data-lazy-l10n-id="toolbar-context-menu-bookmark-selected-tab"/>
<menuitem id="toolbar-context-bookmarkSelectedTabs"
contexttype="tabbar"
data-lazy-l10n-id="toolbar-context-menu-bookmark-selected-tabs"/>
<menuitem id="toolbar-context-selectAllTabs"
contexttype="tabbar"
data-lazy-l10n-id="toolbar-context-menu-select-all-tabs"/>
<menuitem id="toolbar-context-undoCloseTab"
contexttype="tabbar"
data-lazy-l10n-id="toolbar-context-menu-reopen-closed-tabs"
observes="History:UndoCloseTab"/>
<menuseparator id="toolbarItemsMenuSeparator"/>
<menuseparator id="viewToolbarsMenuSeparator"/>
<menuitem id="toolbar-context-customize"
observes="cmd_CustomizeToolbars"
class="viewCustomizeToolbar"
data-lazy-l10n-id="toolbar-context-menu-view-customize-toolbar-2"/>
<menuseparator contexttype="fullscreen"/>
<menuitem id="toolbar-context-full-screen-autohide"
class="fullscreen-context-autohide"
contexttype="fullscreen"
type="checkbox"
data-lazy-l10n-id="full-screen-autohide"/>
<menuitem id="toolbar-context-full-screen-exit"
contexttype="fullscreen"
data-lazy-l10n-id="full-screen-exit"/>
</menupopup>
<menupopup id="blockedPopupOptions">
<menuitem id="blockedPopupAllowSite"/>
<menuitem id="blockedPopupEdit"
data-l10n-id="edit-popup-settings"/>
<menuitem id="blockedPopupDontShowMessage"
data-l10n-id="popups-infobar-dont-show-message"
type="checkbox"/>
<menuseparator id="blockedPopupsSeparator"/>
</menupopup>
<menupopup id="contentAreaContextMenu"
showservicesmenu="true">
<script src="chrome://browser/content/browser-context.js" hidden="true" />
<menugroup id="context-navigation">
<menuitem id="context-back"
data-l10n-id="main-context-menu-back-2"
data-l10n-args='{"shortcut":""}'
class="menuitem-iconic"
command="Browser:BackOrBackDuplicate"/>
<menuitem id="context-forward"
data-l10n-id="main-context-menu-forward-2"
data-l10n-args='{"shortcut":""}'
class="menuitem-iconic"
command="Browser:ForwardOrForwardDuplicate"/>
<menuitem id="context-reload"
class="menuitem-iconic"
tooltip="dynamic-shortcut-tooltip"
data-l10n-id="main-context-menu-reload"
command="Browser:ReloadOrDuplicate"/>
<menuitem id="context-stop"
class="menuitem-iconic"
tooltip="dynamic-shortcut-tooltip"
data-l10n-id="main-context-menu-stop"
command="Browser:Stop"/>
<menuitem id="context-bookmarkpage"
class="menuitem-iconic"
data-l10n-id="main-context-menu-bookmark-page"
/>
</menugroup>
<menuseparator id="context-sep-navigation"/>
<menuitem id="context-viewsource-goToLine"
/>
<menuitem id="context-viewsource-wrapLongLines"
type="checkbox"
/>
<menuitem id="context-viewsource-highlightSyntax"
type="checkbox"
/>
<menuseparator id="context-sep-viewsource-commands"/>
<menuitem id="spell-no-suggestions"
disabled="true"
data-l10n-id="text-action-spell-no-suggestions"/>
<menuitem id="spell-add-to-dictionary"
data-l10n-id="text-action-spell-add-to-dictionary"