Skip to content

Commit

Permalink
Remove Firefox tracking protection (#210)
Browse files Browse the repository at this point in the history
* Disable firefox tracking protection prefs.

* Remove tracking protection settings from preferences.
  • Loading branch information
sammacbeth authored Sep 15, 2020
1 parent eed722d commit 2fa282c
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
9 changes: 9 additions & 0 deletions branding/ghostery/pref/firefox-branding.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ pref("network.cookie.sameSite.noneRequiresSecure", true);
// https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Privacy/Redirect_Tracking_Protection
pref("privacy.purge_trackers.enabled", true);

// disable tracking protection blocking
pref("browser.contentblocking.category", "custom");
pref("privacy.trackingprotection.enabled", false);
pref("privacy.trackingprotection.pbmode.enabled", false);
pref("privacy.trackingprotection.cryptomining.enabled", false);
pref("privacy.trackingprotection.fingerprinting.enabled", false);
pref("privacy.trackingprotection.socialtracking.enabled", false);
pref("privacy.socialtracking.block_cookies.enabled", false);

/* 0320: disable about:addons' Recommendations pane (uses Google Analytics) ***/
pref("extensions.getAddons.showPane", false); // [HIDDEN PREF]

Expand Down
3 changes: 2 additions & 1 deletion patches/.index
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
0006-Update-text-in-about-dialog.patch
0007-Remove-bundled-mozilla-extensions.patch
0008-Remove-tracking-protection-panel-from-url-bar.patch
0009-Hide-Protection-Dashboard-link-from-right-burger-men.patch
0009-Hide-Protection-Dashboard-link-from-right-burger-men.patch
0010-Remove-Tracking-Protection-Settings-from-preferences.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From: Sam Macbeth <[email protected]>
Date: Tue, 15 Sep 2020 12:17:48 +0200
Subject: Remove Tracking Protection Settings from preferences

---
browser/themes/shared/preferences/privacy.css | 3 +++
1 file changed, 3 insertions(+)

diff --git a/browser/themes/shared/preferences/privacy.css b/browser/themes/shared/preferences/privacy.css
index e58d80c5ca..51841957a1 100644
--- a/browser/themes/shared/preferences/privacy.css
+++ b/browser/themes/shared/preferences/privacy.css
@@ -98,6 +98,9 @@
}

/* Content Blocking */
+#trackingGroup {
+ display: none;
+}

/* Override styling that sets descriptions as grey */
#trackingGroup description.indent,
--
2.28.0

0 comments on commit 2fa282c

Please sign in to comment.