1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/components/preferences/in-content/advanced.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,463 @@ 1.4 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.5 + - License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.6 + - You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.7 + 1.8 +<script type="application/javascript" 1.9 + src="chrome://browser/content/preferences/in-content/advanced.js"/> 1.10 + 1.11 +<preferences id="advancedPreferences"> 1.12 + <preference id="browser.preferences.advanced.selectedTabIndex" 1.13 + name="browser.preferences.advanced.selectedTabIndex" 1.14 + type="int"/> 1.15 + 1.16 + <!-- General tab --> 1.17 + <preference id="accessibility.browsewithcaret" 1.18 + name="accessibility.browsewithcaret" 1.19 + type="bool"/> 1.20 + <preference id="accessibility.typeaheadfind" 1.21 + name="accessibility.typeaheadfind" 1.22 + type="bool"/> 1.23 + <preference id="accessibility.blockautorefresh" 1.24 + name="accessibility.blockautorefresh" 1.25 + type="bool"/> 1.26 + 1.27 + <preference id="general.autoScroll" 1.28 + name="general.autoScroll" 1.29 + type="bool"/> 1.30 + <preference id="general.smoothScroll" 1.31 + name="general.smoothScroll" 1.32 + type="bool"/> 1.33 + <preference id="layers.acceleration.disabled" 1.34 + name="layers.acceleration.disabled" 1.35 + type="bool" 1.36 + inverted="true" 1.37 + onchange="gAdvancedPane.updateHardwareAcceleration()"/> 1.38 +#ifdef XP_WIN 1.39 + <preference id="gfx.direct2d.disabled" 1.40 + name="gfx.direct2d.disabled" 1.41 + type="bool" 1.42 + inverted="true"/> 1.43 +#endif 1.44 + <preference id="layout.spellcheckDefault" 1.45 + name="layout.spellcheckDefault" 1.46 + type="int"/> 1.47 + 1.48 +#ifdef HAVE_SHELL_SERVICE 1.49 + <preference id="browser.shell.checkDefaultBrowser" 1.50 + name="browser.shell.checkDefaultBrowser" 1.51 + type="bool"/> 1.52 + 1.53 + <preference id="pref.general.disable_button.default_browser" 1.54 + name="pref.general.disable_button.default_browser" 1.55 + type="bool"/> 1.56 +#endif 1.57 + 1.58 +#ifdef MOZ_TELEMETRY_REPORTING 1.59 + <preference id="toolkit.telemetry.enabled" 1.60 + name="toolkit.telemetry.enabled" 1.61 + type="bool"/> 1.62 +#endif 1.63 + 1.64 + <!-- Network tab --> 1.65 + <preference id="browser.cache.disk.capacity" 1.66 + name="browser.cache.disk.capacity" 1.67 + type="int"/> 1.68 + <preference id="browser.offline-apps.notify" 1.69 + name="browser.offline-apps.notify" 1.70 + type="bool"/> 1.71 + 1.72 + <preference id="browser.cache.disk.smart_size.enabled" 1.73 + name="browser.cache.disk.smart_size.enabled" 1.74 + inverted="true" 1.75 + type="bool"/> 1.76 + 1.77 + <!-- Update tab --> 1.78 +#ifdef MOZ_UPDATER 1.79 + <preference id="app.update.enabled" 1.80 + name="app.update.enabled" 1.81 + type="bool"/> 1.82 + <preference id="app.update.auto" 1.83 + name="app.update.auto" 1.84 + type="bool"/> 1.85 +#ifdef XP_WIN 1.86 +#ifdef MOZ_METRO 1.87 + <preference id="app.update.metro.enabled" 1.88 + name="app.update.metro.enabled" 1.89 + type="bool"/> 1.90 +#endif 1.91 +#endif 1.92 + <preference id="app.update.mode" 1.93 + name="app.update.mode" 1.94 + type="int"/> 1.95 + 1.96 + <preference id="app.update.disable_button.showUpdateHistory" 1.97 + name="app.update.disable_button.showUpdateHistory" 1.98 + type="bool"/> 1.99 + 1.100 +#ifdef MOZ_MAINTENANCE_SERVICE 1.101 + <preference id="app.update.service.enabled" 1.102 + name="app.update.service.enabled" 1.103 + type="bool"/> 1.104 +#endif 1.105 +#endif 1.106 + 1.107 + <preference id="browser.search.update" 1.108 + name="browser.search.update" 1.109 + type="bool"/> 1.110 + 1.111 + <!-- Encryption tab --> 1.112 + <preference id="security.default_personal_cert" 1.113 + name="security.default_personal_cert" 1.114 + type="string"/> 1.115 + 1.116 + <preference id="security.disable_button.openCertManager" 1.117 + name="security.disable_button.openCertManager" 1.118 + type="bool"/> 1.119 + <preference id="security.disable_button.openDeviceManager" 1.120 + name="security.disable_button.openDeviceManager" 1.121 + type="bool"/> 1.122 +</preferences> 1.123 + 1.124 +#ifdef HAVE_SHELL_SERVICE 1.125 + <stringbundle id="bundleShell" src="chrome://browser/locale/shellservice.properties"/> 1.126 + <stringbundle id="bundleBrand" src="chrome://branding/locale/brand.properties"/> 1.127 +#endif 1.128 + <stringbundle id="bundlePreferences" src="chrome://browser/locale/preferences/preferences.properties"/> 1.129 + 1.130 +<hbox id="header-advanced" 1.131 + class="header" 1.132 + hidden="true" 1.133 + data-category="paneAdvanced"> 1.134 + <image class="header-icon"/> 1.135 + <label class="header-name" 1.136 + value="&paneAdvanced.title;"/> 1.137 +</hbox> 1.138 + 1.139 +<tabbox id="advancedPrefs" flex="1" 1.140 + data-category="paneAdvanced" hidden="true" 1.141 + onselect="gAdvancedPane.tabSelectionChanged();"> 1.142 + 1.143 + <tabs id="tabsElement"> 1.144 + <tab id="generalTab" label="&generalTab.label;" helpTopic="prefs-advanced-general"/> 1.145 +#ifdef MOZ_DATA_REPORTING 1.146 + <tab id="dataChoicesTab" label="&dataChoicesTab.label;" helpTopic="prefs-advanced-data-choices"/> 1.147 +#endif 1.148 + <tab id="networkTab" label="&networkTab.label;" helpTopic="prefs-advanced-network"/> 1.149 + <tab id="updateTab" label="&updateTab.label;" helpTopic="prefs-advanced-update"/> 1.150 + <tab id="encryptionTab" label="&certificateTab.label;" helpTopic="prefs-advanced-encryption"/> 1.151 + </tabs> 1.152 + 1.153 + <tabpanels flex="1"> 1.154 + 1.155 + <!-- General --> 1.156 + <tabpanel id="generalPanel" orient="vertical"> 1.157 + <!-- Accessibility --> 1.158 + <groupbox id="accessibilityGroup" align="start"> 1.159 + <caption label="&accessibility.label;"/> 1.160 + 1.161 + <checkbox id="useCursorNavigation" 1.162 + label="&useCursorNavigation.label;" 1.163 + accesskey="&useCursorNavigation.accesskey;" 1.164 + preference="accessibility.browsewithcaret"/> 1.165 + <checkbox id="searchStartTyping" 1.166 + label="&searchStartTyping.label;" 1.167 + accesskey="&searchStartTyping.accesskey;" 1.168 + preference="accessibility.typeaheadfind"/> 1.169 + <checkbox id="blockAutoRefresh" 1.170 + label="&blockAutoRefresh.label;" 1.171 + accesskey="&blockAutoRefresh.accesskey;" 1.172 + preference="accessibility.blockautorefresh"/> 1.173 + </groupbox> 1.174 + <!-- Browsing --> 1.175 + <groupbox id="browsingGroup" align="start"> 1.176 + <caption label="&browsing.label;"/> 1.177 + 1.178 + <checkbox id="useAutoScroll" 1.179 + label="&useAutoScroll.label;" 1.180 + accesskey="&useAutoScroll.accesskey;" 1.181 + preference="general.autoScroll"/> 1.182 + <checkbox id="useSmoothScrolling" 1.183 + label="&useSmoothScrolling.label;" 1.184 + accesskey="&useSmoothScrolling.accesskey;" 1.185 + preference="general.smoothScroll"/> 1.186 + <checkbox id="allowHWAccel" 1.187 + label="&allowHWAccel.label;" 1.188 + accesskey="&allowHWAccel.accesskey;" 1.189 + preference="layers.acceleration.disabled"/> 1.190 + <checkbox id="checkSpelling" 1.191 + label="&checkSpelling.label;" 1.192 + accesskey="&checkSpelling.accesskey;" 1.193 + onsyncfrompreference="return gAdvancedPane.readCheckSpelling();" 1.194 + onsynctopreference="return gAdvancedPane.writeCheckSpelling();" 1.195 + preference="layout.spellcheckDefault"/> 1.196 + </groupbox> 1.197 +#ifdef HAVE_SHELL_SERVICE 1.198 + <!-- System Defaults --> 1.199 + <groupbox id="systemDefaultsGroup" orient="vertical"> 1.200 + <caption label="&systemDefaults.label;"/> 1.201 + 1.202 + <checkbox id="alwaysCheckDefault" preference="browser.shell.checkDefaultBrowser" 1.203 + label="&alwaysCheckDefault.label;" accesskey="&alwaysCheckDefault.accesskey;" 1.204 + flex="1"/> 1.205 + <hbox class="indent"> 1.206 + <deck id="setDefaultPane"> 1.207 + <button id="setDefaultButton" 1.208 + label="&setDefault.label;" accesskey="&setDefault.accesskey;" 1.209 + oncommand="gAdvancedPane.setDefaultBrowser();" 1.210 + preference="pref.general.disable_button.default_browser"/> 1.211 + <description>&isDefault.label;</description> 1.212 + </deck> 1.213 + </hbox> 1.214 + </groupbox> 1.215 +#endif 1.216 + </tabpanel> 1.217 +#ifdef MOZ_DATA_REPORTING 1.218 + <!-- Data Choices --> 1.219 + <tabpanel id="dataChoicesPanel" orient="vertical"> 1.220 +#ifdef MOZ_TELEMETRY_REPORTING 1.221 + <groupbox> 1.222 + <caption label="&telemetrySection.label;"/> 1.223 + <description>&telemetryDesc.label;</description> 1.224 + <hbox> 1.225 + <checkbox id="submitTelemetryBox" 1.226 + preference="toolkit.telemetry.enabled" 1.227 + label="&enableTelemetry.label;" 1.228 + accesskey="&enableTelemetry.accesskey;"/> 1.229 + <spacer flex="1"/> 1.230 + <label id="telemetryLearnMore" 1.231 + class="text-link" 1.232 + value="&telemetryLearnMore.label;"/> 1.233 + </hbox> 1.234 + </groupbox> 1.235 +#endif 1.236 +#ifdef MOZ_SERVICES_HEALTHREPORT 1.237 + <groupbox> 1.238 + <caption label="&healthReportSection.label;"/> 1.239 + <description>&healthReportDesc.label;</description> 1.240 + <hbox> 1.241 + <checkbox id="submitHealthReportBox" 1.242 + oncommand="gAdvancedPane.updateSubmitHealthReport();" 1.243 + label="&enableHealthReport.label;" 1.244 + accesskey="&enableHealthReport.accesskey;"/> 1.245 + <spacer flex="1"/> 1.246 + <label id="FHRLearnMore" 1.247 + class="text-link" 1.248 + value="&healthReportLearnMore.label;"/> 1.249 + </hbox> 1.250 + </groupbox> 1.251 +#endif 1.252 +#ifdef MOZ_CRASHREPORTER 1.253 + <groupbox> 1.254 + <caption label="&crashReporterSection.label;"/> 1.255 + <description>&crashReporterDesc.label;</description> 1.256 + <hbox> 1.257 + <checkbox id="submitCrashesBox" 1.258 + oncommand="gAdvancedPane.updateSubmitCrashes();" 1.259 + label="&enableCrashReporter.label;" 1.260 + accesskey="&enableCrashReporter.accesskey;"/> 1.261 + 1.262 + <spacer flex="1"/> 1.263 + <label id="crashReporterLearnMore" 1.264 + class="text-link" 1.265 + value="&crashReporterLearnMore.label;"/> 1.266 + </hbox> 1.267 + </groupbox> 1.268 +#endif 1.269 + </tabpanel> 1.270 +#endif 1.271 + 1.272 + <!-- Network --> 1.273 + <tabpanel id="networkPanel" orient="vertical"> 1.274 + 1.275 + <!-- Connection --> 1.276 + <groupbox id="connectionGroup"> 1.277 + <caption label="&connection.label;"/> 1.278 + 1.279 + <hbox align="center"> 1.280 + <description flex="1" control="connectionSettings">&connectionDesc.label;</description> 1.281 + <button id="connectionSettings" icon="network" label="&connectionSettings.label;" 1.282 + accesskey="&connectionSettings.accesskey;" 1.283 + oncommand="gAdvancedPane.showConnections();"/> 1.284 + </hbox> 1.285 + </groupbox> 1.286 + 1.287 + <!-- Cache --> 1.288 + <groupbox id="cacheGroup"> 1.289 + <caption label="&httpCache.label;"/> 1.290 + 1.291 + <hbox align="center"> 1.292 + <label id="actualDiskCacheSize" flex="1"/> 1.293 + <button id="clearCacheButton" icon="clear" 1.294 + label="&clearCacheNow.label;" accesskey="&clearCacheNow.accesskey;" 1.295 + oncommand="gAdvancedPane.clearCache();"/> 1.296 + </hbox> 1.297 + <checkbox preference="browser.cache.disk.smart_size.enabled" 1.298 + id="allowSmartSize" flex="1" 1.299 + onsyncfrompreference="return gAdvancedPane.readSmartSizeEnabled();" 1.300 + label="&overrideSmartCacheSize.label;" 1.301 + accesskey="&overrideSmartCacheSize.accesskey;"/> 1.302 + <hbox align="center" class="indent"> 1.303 + <label id="useCacheBefore" control="cacheSize" 1.304 + accesskey="&limitCacheSizeBefore.accesskey;" 1.305 + value="&limitCacheSizeBefore.label;"/> 1.306 + <textbox id="cacheSize" type="number" size="4" max="1024" 1.307 + preference="browser.cache.disk.capacity" 1.308 + onsyncfrompreference="return gAdvancedPane.readCacheSize();" 1.309 + onsynctopreference="return gAdvancedPane.writeCacheSize();" 1.310 + aria-labelledby="useCacheBefore cacheSize useCacheAfter"/> 1.311 + <label id="useCacheAfter" flex="1">&limitCacheSizeAfter.label;</label> 1.312 + </hbox> 1.313 + </groupbox> 1.314 + 1.315 + <!-- Offline apps --> 1.316 + <groupbox id="offlineGroup"> 1.317 + <caption label="&offlineStorage2.label;"/> 1.318 + 1.319 + <hbox align="center"> 1.320 + <label id="actualAppCacheSize" flex="1"/> 1.321 + <button id="clearOfflineAppCacheButton" icon="clear" 1.322 + label="&clearOfflineAppCacheNow.label;" accesskey="&clearOfflineAppCacheNow.accesskey;" 1.323 + oncommand="gAdvancedPane.clearOfflineAppCache();"/> 1.324 + </hbox> 1.325 + <hbox align="center"> 1.326 + <checkbox id="offlineNotify" flex="1" 1.327 + label="&offlineNotify.label;" accesskey="&offlineNotify.accesskey;" 1.328 + preference="browser.offline-apps.notify" 1.329 + onsyncfrompreference="return gAdvancedPane.readOfflineNotify();"/> 1.330 + <button id="offlineNotifyExceptions" 1.331 + label="&offlineNotifyExceptions.label;" 1.332 + accesskey="&offlineNotifyExceptions.accesskey;" 1.333 + oncommand="gAdvancedPane.showOfflineExceptions();"/> 1.334 + </hbox> 1.335 + <hbox> 1.336 + <vbox flex="1"> 1.337 + <label id="offlineAppsListLabel">&offlineAppsList2.label;</label> 1.338 + <listbox id="offlineAppsList" 1.339 + style="height: &offlineAppsList.height;;" 1.340 + flex="1" 1.341 + aria-labelledby="offlineAppsListLabel" 1.342 + onselect="gAdvancedPane.offlineAppSelected(event);"> 1.343 + </listbox> 1.344 + </vbox> 1.345 + <vbox pack="end"> 1.346 + <button id="offlineAppsListRemove" 1.347 + disabled="true" 1.348 + label="&offlineAppsListRemove.label;" 1.349 + accesskey="&offlineAppsListRemove.accesskey;" 1.350 + oncommand="gAdvancedPane.removeOfflineApp();"/> 1.351 + </vbox> 1.352 + </hbox> 1.353 + </groupbox> 1.354 + </tabpanel> 1.355 + 1.356 + <!-- Update --> 1.357 + <tabpanel id="updatePanel" orient="vertical"> 1.358 +#ifdef MOZ_UPDATER 1.359 + <groupbox id="updateApp"> 1.360 + <caption label="&updateApp.label;"/> 1.361 + <radiogroup id="updateRadioGroup" 1.362 + oncommand="gAdvancedPane.updateWritePrefs();"> 1.363 +#ifdef XP_WIN 1.364 +#ifdef MOZ_METRO 1.365 + <radio id="autoMetro" 1.366 + value="autoMetro" 1.367 + label="&updateAutoMetro.label;" 1.368 + accesskey="&updateAutoMetro.accesskey;"/> 1.369 + <hbox id="autoMetroIndent" 1.370 + class="indent"> 1.371 + <label value="&updateAutoMetroWarn.label;"/> 1.372 + </hbox> 1.373 +#endif 1.374 +#endif 1.375 + <radio id="autoDesktop" 1.376 + value="auto" 1.377 + label="&updateAuto1.label;" 1.378 + accesskey="&updateAuto1.accesskey;"/> 1.379 + <hbox class="indent"> 1.380 + <checkbox id="warnIncompatible" 1.381 + label="&updateAutoAddonWarn.label;" 1.382 + accesskey="&updateAutoAddonWarn.accesskey;" 1.383 + preference="app.update.mode" 1.384 + onsyncfrompreference="return gAdvancedPane.readAddonWarn();" 1.385 + onsynctopreference="return gAdvancedPane.writeAddonWarn();"/> 1.386 + </hbox> 1.387 + <radio value="checkOnly" 1.388 + label="&updateCheck.label;" 1.389 + accesskey="&updateCheck.accesskey;"/> 1.390 + <radio value="manual" 1.391 + label="&updateManual.label;" 1.392 + accesskey="&updateManual.accesskey;"/> 1.393 + </radiogroup> 1.394 + 1.395 + <hbox> 1.396 + <button id="showUpdateHistory" 1.397 + label="&updateHistory.label;" 1.398 + accesskey="&updateHistory.accesskey;" 1.399 + preference="app.update.disable_button.showUpdateHistory" 1.400 + oncommand="gAdvancedPane.showUpdates();"/> 1.401 + </hbox> 1.402 + 1.403 +#ifdef MOZ_MAINTENANCE_SERVICE 1.404 + <checkbox id="useService" 1.405 + label="&useService.label;" 1.406 + accesskey="&useService.accesskey;" 1.407 + preference="app.update.service.enabled"/> 1.408 +#endif 1.409 + </groupbox> 1.410 +#endif 1.411 + <groupbox id="updateOthers"> 1.412 + <caption label="&updateOthers.label;"/> 1.413 + <checkbox id="enableSearchUpdate" 1.414 + label="&enableSearchUpdate.label;" 1.415 + accesskey="&enableSearchUpdate.accesskey;" 1.416 + preference="browser.search.update"/> 1.417 + </groupbox> 1.418 + </tabpanel> 1.419 + 1.420 + <!-- Certificates --> 1.421 + <tabpanel id="encryptionPanel" orient="vertical"> 1.422 + 1.423 + <description id="CertSelectionDesc" control="certSelection">&certSelection.description;</description> 1.424 + 1.425 + <!-- 1.426 + The values on these radio buttons may look like l12y issues, but 1.427 + they're not - this preference uses *those strings* as its values. 1.428 + I KID YOU NOT. 1.429 + --> 1.430 + <radiogroup id="certSelection" orient="horizontal" preftype="string" 1.431 + preference="security.default_personal_cert" 1.432 + aria-labelledby="CertSelectionDesc"> 1.433 + <radio label="&certs.auto;" accesskey="&certs.auto.accesskey;" 1.434 + value="Select Automatically"/> 1.435 + <radio label="&certs.ask;" accesskey="&certs.ask.accesskey;" 1.436 + value="Ask Every Time"/> 1.437 + </radiogroup> 1.438 + 1.439 + <separator/> 1.440 + 1.441 +#ifdef XP_MACOSX 1.442 + <vbox> 1.443 +#endif 1.444 + <hbox> 1.445 + <button id="viewCertificatesButton" 1.446 + label="&viewCerts.label;" accesskey="&viewCerts.accesskey;" 1.447 + oncommand="gAdvancedPane.showCertificates();" 1.448 + preference="security.disable_button.openCertManager"/> 1.449 + <button id="verificationButton" 1.450 + label="&verify2.label;" accesskey="&verify2.accesskey;" 1.451 + oncommand="gAdvancedPane.showOCSP();"/> 1.452 +#ifdef XP_MACOSX 1.453 + </hbox> 1.454 + <hbox> 1.455 +#endif 1.456 + <button id="viewSecurityDevicesButton" 1.457 + label="&viewSecurityDevices.label;" accesskey="&viewSecurityDevices.accesskey;" 1.458 + oncommand="gAdvancedPane.showSecurityDevices();" 1.459 + preference="security.disable_button.openDeviceManager"/> 1.460 + </hbox> 1.461 +#ifdef XP_MACOSX 1.462 + </vbox> 1.463 +#endif 1.464 + </tabpanel> 1.465 + </tabpanels> 1.466 +</tabbox>