0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 05:33:03 -05:00

Merge branch 'hide_history_dropdown' into 'main'

Add `privacy-preferences.patch`

Closes librewolf-community/settings#149 and #20

See merge request librewolf-community/browser/source!21
This commit is contained in:
Bert van der Weerd 2022-03-09 11:34:01 +00:00
commit 0e3363249c
3 changed files with 63 additions and 22 deletions

View file

@ -11,8 +11,8 @@ patches/sed-patches/allow-searchengines-non-esr.patch
patches/sed-patches/disable-pocket.patch
patches/sed-patches/remove-internal-plugin-certs.patch
patches/sed-patches/stop-undesired-requests.patch
patches/ui-patches/hide-safe-browsing.patch
patches/ui-patches/pref-naming.patch
patches/ui-patches/privacy-preferences.patch
patches/ui-patches/remove-branding-urlbar.patch
patches/ui-patches/remove-cfrprefs.patch
patches/ui-patches/remove-organization-policy-banner.patch

View file

@ -1,21 +0,0 @@
--- a//browser/components/preferences/privacy.inc.xhtml
+++ b//browser/components/preferences/privacy.inc.xhtml
@@ -1008,15 +1008,15 @@
<!-- addons, forgery (phishing) UI Security -->
<groupbox id="browsingProtectionGroup" data-category="panePrivacy" hidden="true">
- <label><html:h2 data-l10n-id="security-browsing-protection"/></label>
- <hbox align = "center">
+ <label><html:h2 data-l10n-id="security-browsing-protection" hidden="true"/></label>
+ <hbox align = "center" hidden="true">
<checkbox id="enableSafeBrowsing"
data-l10n-id="security-enable-safe-browsing"
class="tail-with-learn-more"/>
<label id="enableSafeBrowsingLearnMore"
class="learnMore" is="text-link" data-l10n-id="security-enable-safe-browsing-link"/>
</hbox>
- <vbox class="indent">
+ <vbox class="indent" hidden="true">
<checkbox id="blockDownloads"
data-l10n-id="security-block-downloads"/>
<checkbox id="blockUncommonUnwanted"

View file

@ -0,0 +1,62 @@
--- a/browser/components/preferences/privacy.inc.xhtml
+++ b/browser/components/preferences/privacy.inc.xhtml
@@ -54,7 +54,7 @@
</description>
</vbox>
</hbox>
- <vbox id="contentBlockingCategories">
+ <vbox id="contentBlockingCategories" hidden="true">
<radiogroup id="contentBlockingCategoryRadio"
preference="browser.contentblocking.category"
aria-labelledby="trackingProtectionMenuDesc">
@@ -535,7 +535,7 @@
<!-- History -->
<groupbox id="historyGroup" data-category="panePrivacy" hidden="true">
<label><html:h2 data-l10n-id="history-header"/></label>
- <hbox align="center">
+ <hbox align="center" hidden="true">
<label id="historyModeLabel"
control="historyMode"
data-l10n-id="history-remember-label"/>
@@ -585,8 +585,9 @@
<vbox>
<checkbox id="privateBrowsingAutoStart"
data-l10n-id="history-private-browsing-permanent"
- preference="browser.privatebrowsing.autostart"/>
- <vbox class="indent">
+ preference="browser.privatebrowsing.autostart"
+ hidden="true" />
+ <vbox>
<checkbox id="rememberHistory"
data-l10n-id="history-remember-browser-option"
preference="places.history.enabled"/>
@@ -1015,15 +1016,15 @@
<!-- addons, forgery (phishing) UI Security -->
<groupbox id="browsingProtectionGroup" data-category="panePrivacy" hidden="true">
- <label><html:h2 data-l10n-id="security-browsing-protection"/></label>
- <hbox align = "center">
+ <label><html:h2 data-l10n-id="security-browsing-protection" hidden="true"/></label>
+ <hbox align = "center" hidden="true">
<checkbox id="enableSafeBrowsing"
data-l10n-id="security-enable-safe-browsing"
class="tail-with-learn-more"/>
<label id="enableSafeBrowsingLearnMore"
class="learnMore" is="text-link" data-l10n-id="security-enable-safe-browsing-link"/>
</hbox>
- <vbox class="indent">
+ <vbox class="indent" hidden="true">
<checkbox id="blockDownloads"
data-l10n-id="security-block-downloads"/>
<checkbox id="blockUncommonUnwanted"
--- a/browser/locales/en-US/browser/preferences/preferences.ftl
+++ b/browser/locales/en-US/browser/preferences/preferences.ftl
@@ -1107,7 +1107,7 @@ addressbar-suggestions-settings = Change preferences for search engine suggestio
content-blocking-enhanced-tracking-protection = Enhanced Tracking Protection
-content-blocking-section-top-level-description = Trackers follow you around online to collect information about your browsing habits and interests. { -brand-short-name } blocks many of these trackers and other malicious scripts.
+content-blocking-section-top-level-description = LibreWolf supports - and it enables by default - Enhanced Tracking Protection in Strict mode. This is one of the most important settings in the browser, as it provides state partitioning, strict blocking lists and other neat privacy features. We do not recommend changing to other modes.
content-blocking-learn-more = Learn more