File: browser.xhtml

package info (click to toggle)
firefox 141.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,550,588 kB
  • sloc: cpp: 7,426,506; javascript: 6,367,238; ansic: 3,707,351; python: 1,369,002; xml: 623,983; asm: 426,918; java: 184,324; sh: 64,488; makefile: 19,203; objc: 13,059; perl: 12,955; yacc: 4,583; cs: 3,846; pascal: 3,352; lex: 1,720; ruby: 1,071; exp: 762; php: 436; lisp: 258; awk: 247; sql: 66; sed: 54; csh: 10
file content (146 lines) | stat: -rw-r--r-- 6,646 bytes parent folder | download | duplicates (2)
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
#filter substitution
<?xml version="1.0"?>
# -*- Mode: HTML -*-
#
# 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/.

<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"
#ifdef XP_MACOSX
        data-l10n-id="browser-main-window-titles-mac"
#else
        data-l10n-id="browser-main-window-titles"
#endif
        data-l10n-args="{&quot;content-title&quot;:&quot;CONTENTTITLE&quot;,&quot;profile-name&quot;:&quot;PROFILENAME&quot;}"
        data-l10n-attrs="data-content-title-default, data-content-title-private, data-title-default, data-title-private, data-content-title-default-with-profile, data-content-title-private-with-profile, data-title-default-with-profile, data-title-private-with-profile"
        customtitlebar="true"
        windowtype="navigator:browser"
        macanimationtype="document"
        macnativefullscreen="true"
        windowsmica="true"
        screenX="4" screenY="4"
        sizemode="normal"
        retargetdocumentfocus="urlbar-input"
        scrolling="false"
        persist="screenX screenY width height sizemode"
        data-l10n-sync="true">
<head>
  <!-- CSP might be disabled by C++ code. -->
  <meta http-equiv="Content-Security-Policy" content="script-src chrome: moz-src: resource: 'report-sample'" />

  <!-- 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="stylesheet"
    href="chrome://global/content/resistfingerprinting/letterboxing.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/firefoxRelay.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/sidebar.ftl"/>
  <link rel="localization" href="browser/profiles.ftl"/>
  <link rel="localization" href="preview/onboarding.ftl"/>
  <link rel="localization" href="preview/smartTabGroups.ftl"/>
  <link rel="localization" href="preview/taskbartabs.ftl"/>
  <link rel="localization" href="preview/ipProtection.ftl"/>

  <title data-l10n-id="browser-main-window-default-title"></title>

  <script src="chrome://browser/content/global-scripts.js"></script>
  <script src="chrome://browser/content/browser-main.js"></script>
</head>
<html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
# All sets except for popupsets (commands, keys, and stringbundles)
# *must* go into the browser-sets.inc file so that they can be shared with other
# top level windows in macWindow.inc.xhtml.
#include browser-sets.inc

#include main-popupset.inc.xhtml

#include appmenu-viewcache.inc.xhtml
#include unified-extensions-viewcache.inc.xhtml

  <html:dialog id="window-modal-dialog" style="visibility: hidden; height: 0; width: 0"/>
  <html:template id="window-modal-dialog-template">
    <vbox class="dialogTemplate dialogOverlay" topmost="true">
      <hbox class="dialogBox">
        <browser class="dialogFrame" autoscroll="false" disablehistory="true"/>
      </hbox>
    </vbox>
  </html:template>

#include navigator-toolbox.inc.xhtml

#include browser-box.inc.xhtml

  <html:template id="customizationPanel">
    <box id="customization-container" flex="1" hidden="true"><![CDATA[
#include ../../components/customizableui/content/customizeMode.inc.xhtml
    ]]></box>
  </html:template>

#include fullscreen-and-pointerlock.inc.xhtml

  <html:div id="a11y-announcement" role="alert"/>

  <!-- Put it at the very end to make sure it's not covered by anything. -->
  <html:div id="fullscr-toggler" hidden="hidden"/>
</html:body>
</html>