Verified Commit 45eb6d9b authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

MB 34: Hide unsafe and unwanted preferences UI

about:preferences allow to override some of our defaults, that could
be fingeprintable or have some other unwanted consequences.
parent b5825fb4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -738,14 +738,14 @@
            preference="media.hardwaremediakeys.enabled"/>
    <label id="mediaControlLearnMore" class="learnMore" data-l10n-id="browsing-media-control-learn-more" is="text-link"/>
  </hbox>
  <hbox align="center" data-subcategory="cfraddons">
  <hbox align="center" data-subcategory="cfraddons" hidden="true">
    <checkbox id="cfrRecommendations"
            class="tail-with-learn-more"
            data-l10n-id="browsing-cfr-recommendations"
            preference="browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons"/>
    <label id="cfrLearnMore" class="learnMore" data-l10n-id="browsing-cfr-recommendations-learn-more" is="text-link"/>
  </hbox>
  <hbox align="center" data-subcategory="cfrfeatures">
  <hbox align="center" data-subcategory="cfrfeatures" hidden="true">
    <checkbox id="cfrRecommendations-features"
            class="tail-with-learn-more"
            data-l10n-id="browsing-cfr-features"
+1 −1
Original line number Diff line number Diff line
@@ -1042,7 +1042,7 @@
#include ../securitylevel/content/securityLevelPreferences.inc.xhtml

<!-- addons, forgery (phishing) UI Security -->
<groupbox id="browsingProtectionGroup" data-category="panePrivacy" hidden="true">
<groupbox id="browsingProtectionGroup" data-category="panePrivacy" hidden="true" data-hidden-from-search="true">
  <label><html:h2 data-l10n-id="security-browsing-protection"/></label>
  <hbox align = "center">
    <checkbox id="enableSafeBrowsing"
+2 −2
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@
      </vbox>
    </groupbox>

    <groupbox id="searchSuggestionsGroup" data-category="paneSearch" hidden="true">
    <groupbox id="searchSuggestionsGroup" data-category="paneSearch" hidden="true" data-hidden-from-search="true">
      <label><html:h2 data-l10n-id="search-suggestions-header" /></label>
      <description id="searchSuggestionsDesc"
                   data-l10n-id="search-suggestions-desc" />
@@ -117,7 +117,7 @@
                  />
        </hbox>
      </hbox>
      <hbox id="addEnginesBox" pack="start">
      <hbox id="addEnginesBox" pack="start" hidden="true">
        <label id="addEngines" data-l10n-id="search-find-more-link" is="text-link"></label>
      </hbox>
    </groupbox>