[PALEMOON] Add captive portal preference to the UI.

Tag #860
pull/1/head
wolfbeast 4 years ago committed by Roy Tam
parent 199b74eb9d
commit 7f9b5f6329
  1. 12
      application/palemoon/components/preferences/advanced.xul
  2. 3
      application/palemoon/locales/en-US/chrome/browser/preferences/advanced.dtd

@ -48,6 +48,8 @@
type="bool"/>
#endif
<preference id="pref.general.compatmode" name="general.useragent.compatMode" type="int"/>
<preference id="pref.general.captiveportal" name="network.captive-portal-service.enabled" type="bool"/>
<!-- Network tab -->
<preference id="browser.cache.disk.capacity" name="browser.cache.disk.capacity" type="int"/>
@ -179,6 +181,7 @@
</hbox>
</groupbox>
#endif
<!-- User Agent compatibility -->
<groupbox id="UACompatGroup" orient="vertical">
<caption label="&UACompatGroup.label;"/>
<hbox align="center">
@ -192,6 +195,15 @@
</menulist>
</hbox>
</groupbox>
<!-- Captive portal detection -->
<groupbox id="captivePortalGroup" orient="vertical">
<caption label="&captivePortalGroup.label;"/>
<checkbox id="captivePortalDetect"
label="&captivePortalDetect.label;"
preference="pref.general.captiveportal"/>
</groupbox>
</tabpanel>
<!-- Network -->

@ -39,6 +39,9 @@
<!ENTITY UACompat.Gecko "Gecko Compatibility">
<!ENTITY UACompat.Firefox "Firefox Compatibility">
<!ENTITY captivePortalGroup.label "Captive portals">
<!ENTITY captivePortalDetect.label "Detect restricted network access">
<!ENTITY dataChoicesTab.label "Data Choices">
<!ENTITY crashReporterSection.label "Crash Reporter">

Loading…
Cancel
Save