From f81b8db9d487a39622f5054595fed7320417bd47 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Thu, 21 Sep 2023 08:40:42 +0100 Subject: [PATCH] Make Firefox privacy less strict --- roles/home-gui/files/user-strict.js | 23 +++++++++++++++++++ roles/home-gui/files/user.js | 35 +++++------------------------ 2 files changed, 29 insertions(+), 29 deletions(-) create mode 100644 roles/home-gui/files/user-strict.js diff --git a/roles/home-gui/files/user-strict.js b/roles/home-gui/files/user-strict.js new file mode 100644 index 0000000..b09f960 --- /dev/null +++ b/roles/home-gui/files/user-strict.js @@ -0,0 +1,23 @@ +user_pref("accessibility.force_disabled", 1); +user_pref("browser.contentblocking.category", "strict"); +user_pref("browser.discovery.enabled", false); +user_pref("browser.display.use_document_fonts", 0); +user_pref("network.http.referer.disallowCrossSiteRelaxingDefault.top_navigation", true); +user_pref("privacy.annotate_channels.strict_list.enabled", true); +user_pref("privacy.partition.network_state.ocsp_cache", true); +user_pref("privacy.query_stripping.enabled", true); +user_pref("privacy.resistFingerprinting", true); +user_pref("privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts", true); +user_pref("privacy.resistFingerprinting.block_mozAddonManager", true); +user_pref("privacy.resistFingerprinting.exemptedDomains", "*.example.invalid"); +user_pref("privacy.resistFingerprinting.jsmloglevel", "Warn"); +user_pref("privacy.resistFingerprinting.letterboxing", true); +user_pref("privacy.resistFingerprinting.randomDataOnCanvasExtract", true); +user_pref("privacy.resistFingerprinting.reduceTimerPrecision.jitter", true); +user_pref("privacy.resistFingerprinting.reduceTimerPrecision.microseconds", 1000); +user_pref("privacy.resistFingerprinting.target_video_res", 480); +user_pref("privacy.resistFingerprinting.testGranularityMask", 0); +user_pref("privacy.trackingprotection.enabled", true); +user_pref("privacy.trackingprotection.socialtracking.enabled", true); +user_pref("services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.jitter", true); +user_pref("services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.microseconds", true); diff --git a/roles/home-gui/files/user.js b/roles/home-gui/files/user.js index 4383910..850fb5a 100644 --- a/roles/home-gui/files/user.js +++ b/roles/home-gui/files/user.js @@ -1,9 +1,5 @@ -user_pref("accessibility.force_disabled", 1); user_pref("app.shield.optoutstudies.enabled", false); -user_pref("browser.contentblocking.category", "strict"); user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); -user_pref("browser.discovery.enabled", false); -user_pref("browser.display.use_document_fonts", 0); user_pref("browser.download.useDownloadDir", false); user_pref("browser.eme.ui.enabled", false); user_pref("browser.formfill.enable", false); @@ -40,37 +36,20 @@ user_pref("extensions.pocket.site", "0.0.0.0"); user_pref("font.default.x-unicode", "sans-serif"); user_pref("font.default.x-western", "sans-serif"); user_pref("font.language.group", "x-unicode"); -user_pref("font.name.monospace.x-unicode", "Noto Sans Mono"); -user_pref("font.name.monospace.x-western", "Noto Sans Mono"); -user_pref("font.name.sans-serif.x-unicode", "Noto Sans"); -user_pref("font.name.sans-serif.x-western", "Noto Sans"); -user_pref("font.name.serif.x-unicode", "Noto Serif"); -user_pref("font.name.serif.x-western", "Noto Serif"); +user_pref("font.name.monospace.x-unicode", "monospace"); +user_pref("font.name.monospace.x-western", "monospace"); +user_pref("font.name.sans-serif.x-unicode", "sans-serif"); +user_pref("font.name.sans-serif.x-western", "sans-serif"); +user_pref("font.name.serif.x-unicode", "serif"); +user_pref("font.name.serif.x-western", "serif"); user_pref("general.smoothScroll", false); user_pref("media.eme.enabled", false); user_pref("media.peerconnection.enabled", true); user_pref("network.IDN_show_punycode", true); -user_pref("network.http.referer.disallowCrossSiteRelaxingDefault.top_navigation", true); user_pref("network.http.windows-sso.enabled", false); user_pref("network.security.ports.banned.override", "6697"); user_pref("permissions.default.desktop-notification", 2); user_pref("places.history.enabled", false); -user_pref("privacy.annotate_channels.strict_list.enabled", true); -user_pref("privacy.partition.network_state.ocsp_cache", true); -user_pref("privacy.query_stripping.enabled", true); -user_pref("privacy.resistFingerprinting", true); -user_pref("privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts", true); -user_pref("privacy.resistFingerprinting.block_mozAddonManager", true); -user_pref("privacy.resistFingerprinting.exemptedDomains", "*.example.invalid"); -user_pref("privacy.resistFingerprinting.jsmloglevel", "Warn"); -user_pref("privacy.resistFingerprinting.letterboxing", true); -user_pref("privacy.resistFingerprinting.randomDataOnCanvasExtract", true); -user_pref("privacy.resistFingerprinting.reduceTimerPrecision.jitter", true); -user_pref("privacy.resistFingerprinting.reduceTimerPrecision.microseconds", 1000); -user_pref("privacy.resistFingerprinting.target_video_res", 480); -user_pref("privacy.resistFingerprinting.testGranularityMask", 0); -user_pref("privacy.trackingprotection.enabled", true); -user_pref("privacy.trackingprotection.socialtracking.enabled", true); user_pref("privacy.userContext.enabled", true); user_pref("security.mixed_content.use_hstsc", false); user_pref("security.tls.version.enable-deprecated", false); @@ -78,8 +57,6 @@ user_pref("security.webauth.u2f", true); user_pref("services.sync.prefs.sync-seen.services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includePocket", false); user_pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.section.topstories", false); user_pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includePocket", false); -user_pref("services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.jitter", true); -user_pref("services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.microseconds", true); user_pref("sidebar.position_start", false); user_pref("signon.rememberSignons", false); user_pref("toolkit.telemetry.archive.enabled", false);