preferences.xhtml (14593B)
1 <?xml version="1.0"?> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this file, 4 - You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 6 <!DOCTYPE html> 7 8 <html xmlns="http://www.w3.org/1999/xhtml" 9 xmlns:html="http://www.w3.org/1999/xhtml" 10 role="document" 11 id="preferences-root"> 12 13 <head> 14 <!-- @CSP: We should remove 'unsafe-inline' from style-src, see Bug 1579160 --> 15 <meta http-equiv="Content-Security-Policy" content="default-src chrome:; img-src chrome: moz-icon: moz-remote-image: https: blob: data:; style-src chrome: data: 'unsafe-inline'; object-src 'none'" /> 16 17 <title data-l10n-id="settings-page-title"></title> 18 19 <meta name="color-scheme" content="light dark" /> 20 <link rel="stylesheet" href="chrome://global/skin/global.css" /> 21 22 <link rel="stylesheet" href="chrome://global/skin/in-content/common.css" /> 23 <link 24 rel="stylesheet" 25 href="chrome://browser/skin/preferences/preferences.css" 26 /> 27 <link 28 rel="stylesheet" 29 href="chrome://browser/content/preferences/dialogs/handlers.css" 30 /> 31 <link 32 rel="stylesheet" 33 href="chrome://browser/skin/preferences/applications.css" 34 /> 35 <link rel="stylesheet" href="chrome://browser/skin/preferences/search.css" /> 36 <link 37 rel="stylesheet" 38 href="chrome://browser/skin/preferences/containers.css" 39 /> 40 <link rel="stylesheet" href="chrome://browser/skin/preferences/privacy.css" /> 41 <link rel="stylesheet" href="chrome://browser/content/preferences/widgets/setting-group.css" /> 42 <link rel="stylesheet" href="chrome://browser/content/preferences/widgets/setting-pane.css" /> 43 <link rel="stylesheet" href="chrome://browser/content/preferences/widgets/setting-control.css" /> 44 <link 45 rel="stylesheet" 46 href="chrome://browser/content/preferences/letterboxing.css" 47 /> 48 49 <link rel="stylesheet" href="chrome://browser/content/securitylevel/securityLevelPreferences.css" /> 50 <link rel="stylesheet" href="chrome://browser/content/torpreferences/torPreferences.css" /> 51 <link rel="stylesheet" href="chrome://browser/content/onionservices/authPreferences.css" /> 52 53 <link rel="localization" href="branding/brand.ftl"/> 54 <link rel="localization" href="browser/browser.ftl"/> 55 <!-- Used by fontbuilder.js --> 56 <link rel="localization" href="browser/preferences/fonts.ftl"/> 57 <link rel="localization" href="browser/preferences/moreFromMozilla.ftl"/> 58 <link rel="localization" href="browser/preferences/preferences.ftl"/> 59 <link rel="localization" href="toolkit/branding/brandings.ftl"/> 60 <link rel="localization" href="toolkit/firefoxlabs/features.ftl"/> 61 62 <!-- Temporary until localization is done --> 63 <link rel="localization" href="preview/smartTabGroups.ftl"/> 64 <link rel="localization" href="preview/privacyPreferences.ftl"/> 65 <link rel="localization" href="preview/ipProtection.ftl"/> 66 <link rel="localization" href="preview/aiFeatures.ftl"/> 67 68 <!-- Links below are only used for search-l10n-ids into subdialogs --> 69 <link rel="localization" href="browser/aboutDialog.ftl"/> 70 <link rel="localization" href="browser/backupSettings.ftl"/> 71 <link rel="localization" href="browser/genai.ftl"/> 72 <link rel="localization" href="browser/search.ftl"/> 73 <link rel="localization" href="browser/preferences/clearSiteData.ftl"/> 74 <link rel="localization" href="browser/preferences/colors.ftl"/> 75 <link rel="localization" href="browser/preferences/connection.ftl"/> 76 <link rel="localization" href="browser/preferences/formAutofill.ftl"/> 77 <link rel="localization" href="browser/preferences/languages.ftl"/> 78 <link rel="localization" href="browser/preferences/permissions.ftl"/> 79 <link rel="localization" href="browser/preferences/selectBookmark.ftl"/> 80 <link rel="localization" href="browser/preferences/siteDataSettings.ftl"/> 81 <link rel="localization" href="browser/sanitize.ftl"/> 82 <link rel="localization" href="browser/translations.ftl"/> 83 <link rel="localization" href="preview/enUS-searchFeatures.ftl"/> 84 <link rel="localization" href="security/certificates/certManager.ftl"/> 85 <link rel="localization" href="security/certificates/deviceManager.ftl"/> 86 <link rel="localization" href="toolkit/updates/history.ftl"/> 87 <link rel="localization" href="toolkit/global/profileSelection.ftl"/> 88 <link rel="localization" href="toolkit/global/base-browser.ftl"/> 89 <link rel="localization" href="toolkit/global/tor-browser.ftl"/> 90 91 <link rel="shortcut icon" href="chrome://global/skin/icons/settings.svg"/> 92 93 <script src="chrome://browser/content/utilityOverlay.js"/> 94 <script src="chrome://global/content/preferencesBindings.js"/> 95 <script src="chrome://browser/content/preferences/preferences.js"/> 96 <script src="chrome://browser/content/preferences/extensionControlled.js"/> 97 <script src="chrome://browser/content/preferences/findInPage.js"/> 98 <script src="chrome://browser/content/migration/migration-wizard.mjs" type="module"></script> 99 <script type="module" src="chrome://browser/content/backup/backup-settings.mjs"></script> 100 <script type="module" src="chrome://browser/content/preferences/widgets/dialog-button.mjs"></script> 101 <script type="module" src="chrome://browser/content/preferences/widgets/placeholder-message.mjs"></script> 102 <script type="module" src="chrome://browser/content/preferences/widgets/nav-notice.mjs"></script> 103 <script type="module" src="chrome://browser/content/preferences/widgets/setting-pane.mjs"></script> 104 <script type="module" src="chrome://browser/content/preferences/widgets/setting-group.mjs"></script> 105 <script type="module" src="chrome://browser/content/preferences/widgets/setting-control.mjs"></script> 106 <script type="module" src="chrome://browser/content/preferences/widgets/security-privacy-card.mjs"></script> 107 <script type="module" src="chrome://global/content/elements/moz-input-color.mjs"></script> 108 <script type="module" src="chrome://browser/content/preferences/widgets/sync-device-name.mjs"></script> 109 <script type="module" src="chrome://browser/content/preferences/widgets/sync-engines-list.mjs"></script> 110 <script src="chrome://browser/content/torpreferences/bridgemoji/BridgeEmoji.js"/> 111 </head> 112 113 <html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 114 id="preferences-body"> 115 116 <stringbundle id="pkiBundle" 117 src="chrome://pippki/locale/pippki.properties"/> 118 <stringbundle id="browserBundle" 119 src="chrome://browser/locale/browser.properties"/> 120 121 <stack id="preferences-stack" flex="1"> 122 <hbox flex="1"> 123 124 <vbox class="navigation"> 125 <!-- category list --> 126 <richlistbox id="categories" data-l10n-id="category-list" data-l10n-attrs="aria-label"> 127 <richlistitem id="category-general" 128 class="category" 129 value="paneGeneral" 130 data-l10n-id="category-general" 131 data-l10n-attrs="tooltiptext" 132 align="center"> 133 <image class="category-icon"/> 134 <label class="category-name" flex="1" data-l10n-id="pane-general-title"></label> 135 </richlistitem> 136 137 <richlistitem id="category-home" 138 class="category" 139 value="paneHome" 140 data-l10n-id="category-home" 141 data-l10n-attrs="tooltiptext" 142 align="center"> 143 <image class="category-icon"/> 144 <label class="category-name" flex="1" data-l10n-id="pane-home-title"></label> 145 </richlistitem> 146 147 <richlistitem id="category-search" 148 class="category" 149 value="paneSearch" 150 data-l10n-id="category-search" 151 data-l10n-attrs="tooltiptext" 152 align="center"> 153 <image class="category-icon"/> 154 <label class="category-name" flex="1" data-l10n-id="pane-search-title"></label> 155 </richlistitem> 156 157 <richlistitem id="category-privacy" 158 class="category" 159 value="panePrivacy" 160 data-l10n-id="category-privacy" 161 data-l10n-attrs="tooltiptext" 162 align="center"> 163 <image class="category-icon"/> 164 <label class="category-name" flex="1" data-l10n-id="pane-privacy-title"></label> 165 </richlistitem> 166 167 <richlistitem id="category-sync" 168 class="category" 169 hidden="true" 170 value="paneSync" 171 data-l10n-id="category-sync3" 172 data-l10n-attrs="tooltiptext" 173 align="center"> 174 <image class="category-icon"/> 175 <label class="category-name" flex="1" data-l10n-id="pane-sync-title3"></label> 176 </richlistitem> 177 178 <!-- We skip registering the "ai" pane (aiFeatures.mjs), which means 179 - this richlistitem is non-functional and unmanaged. We have to 180 - manually hide it instead. See tor-browser#44709. --> 181 <richlistitem id="category-ai-features" 182 class="category" 183 hidden="true" 184 value="paneAiFeatures" 185 data-l10n-id="category-ai-features" 186 data-l10n-attrs="tooltiptext" 187 align="center"> 188 <image class="category-icon"/> 189 <label class="category-name" flex="1" data-l10n-id="pane-ai-features-title"></label> 190 </richlistitem> 191 192 <richlistitem id="category-experimental" 193 class="category" 194 hidden="true" 195 value="paneExperimental" 196 data-l10n-id="settings-category-labs" 197 data-l10n-attrs="tooltiptext" 198 align="center"> 199 <image class="category-icon"/> 200 <label class="category-name" flex="1" data-l10n-id="settings-pane-labs-title"></label> 201 </richlistitem> 202 <richlistitem id="category-more-from-mozilla" 203 class="category" 204 hidden="true" 205 data-l10n-id="more-from-moz-category" 206 data-l10n-attrs="tooltiptext" 207 value="paneMoreFromMozilla" 208 align="center"> 209 <image class="category-icon"/> 210 <label class="category-name" flex="1" data-l10n-id="more-from-moz-title"></label> 211 </richlistitem> 212 213 <!-- The following <richlistitem> elements are hidden from the list of items via the hidden-category class. 214 The intent is that they act as sub-pages, accessible from the UI of one of the main pages, but are 215 not listed as primary pages themselves via the selector. 216 These elements need to be hidden with CSS, rather than the "hidden" property, otherwise their 217 functionality will be disabled. 218 In the future, we may want to determine a way to support sub-pages in a first-class fashion, rather 219 than creating them as hidden primary pages like this. For now, any further pages of this kind should 220 be added in this fashion. --> 221 <richlistitem 222 class="category hidden-category" 223 value="paneContainers"/> 224 225 <richlistitem 226 class="category hidden-category" 227 value="paneProfiles"/> 228 229 <!-- Hide the translations sub-pane. tor-browser#44710. --> 230 <richlistitem 231 hidden="true" 232 class="category hidden-category" 233 value="paneTranslations"/> 234 235 #include ../torpreferences/content/connectionCategory.inc.xhtml 236 237 </richlistbox> 238 239 <spacer flex="1"/> 240 241 <vbox class="sidebar-footer-list"> 242 <html:a id="addonsButton" class="sidebar-footer-link" href="about:addons"> 243 <image class="sidebar-footer-icon addons-icon"/> 244 <label class="sidebar-footer-label" flex="1" data-l10n-id="addons-button-label"></label> 245 </html:a> 246 <html:a id="helpButton" class="sidebar-footer-link" target="_blank" 247 is="moz-support-link" support-page="preferences"> 248 <image class="sidebar-footer-icon help-icon"/> 249 <label class="sidebar-footer-label" flex="1" data-l10n-id="help-button-label"></label> 250 </html:a> 251 </vbox> 252 </vbox> 253 254 <keyset> 255 <key data-l10n-id="focus-search" key="" modifiers="accel" id="focusSearch1"/> 256 </keyset> 257 258 <vbox class="main-content" flex="1" align="start"> 259 <vbox class="pane-container"> 260 <hbox class="sticky-container"> 261 <hbox class="sticky-inner-container" pack="end" align="start"> 262 <hbox id="policies-container" class="info-box-container smaller-font-size" flex="1" hidden="true"> 263 <hbox class="info-icon-container"> 264 <html:img class="info-icon" data-l10n-attrs="alt" data-l10n-id="managed-notice-info-icon"></html:img> 265 </hbox> 266 <hbox align="center" flex="1"> 267 <html:a href="about:policies" target="_blank" data-l10n-id="managed-notice"/> 268 </hbox> 269 </hbox> 270 <html:moz-input-search 271 id="searchInput" 272 data-l10n-id="search-input-box2" 273 data-l10n-attrs="placeholder, style" 274 /> 275 </hbox> 276 </hbox> 277 <vbox id="mainPrefPane"> 278 #include searchResults.inc.xhtml 279 #include main.inc.xhtml 280 #include home.inc.xhtml 281 #include search.inc.xhtml 282 #include privacy.inc.xhtml 283 #include containers.inc.xhtml 284 #include sync.inc.xhtml 285 #include experimental.inc.xhtml 286 #include moreFromMozilla.inc.xhtml 287 #include ../torpreferences/content/connectionPane.inc.xhtml 288 </vbox> 289 </vbox> 290 </vbox> 291 </hbox> 292 293 <stack id="dialogStack" hidden="true"/> 294 <vbox id="dialogTemplate" class="dialogOverlay" align="center" pack="center" topmost="true" hidden="true"> 295 <vbox class="dialogBox" 296 pack="end" 297 role="dialog" 298 aria-labelledby="dialogTitle"> 299 <hbox class="dialogTitleBar" align="center"> 300 <label class="dialogTitle" flex="1"/> 301 <button class="dialogClose close-icon" 302 data-l10n-id="close-button"/> 303 </hbox> 304 <browser class="dialogFrame" 305 autoscroll="false" 306 disablehistory="true"/> 307 </vbox> 308 </vbox> 309 </stack> 310 311 <html:dialog id="migrationWizardDialog"></html:dialog> 312 </html:body> 313 </html>