~hacktivista/config

da859894fef34f7b63fcb52910feaa5346672df7 — Felix Freeman 1 year, 7 months ago e4464fe
Delete custom Firefox' user.json in favor of LibreWolf
2 files changed, 0 insertions(+), 95 deletions(-)

D root/etc/skel/.mozilla/firefox/default/user.js
D root/etc/skel/.mozilla/firefox/profiles.ini
D root/etc/skel/.mozilla/firefox/default/user.js => root/etc/skel/.mozilla/firefox/default/user.js +0 -91
@@ 1,91 0,0 @@
/*
 * Firefox 79 defaults
 *
 * Copyright (c) 2019 - 2020 Felix Freeman <sir@hacktivista.com>
 *
 * This software is licensed under the 'MIT No Attribution' license terms. I
 * don't want attribution nor exclusive rights over it, but I'd love that you
 * free your software too.
 *
 * Thanks to:
 * https://ffprofile.com
 * https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections (worth looking at)
 * https://www.privacytools.io/browsers/#about_config
 *
 * For use with uMatrix/uBlock origin extension.
 * Recommended default blacklist (include first * too, append to "My Rules"):
 * facebook.com * block
 * facebook.net * block
 * fbcdn.net * block
 * google.com * block
 * googleapis.com * block
 * gstatic.com * block
 * media-amazon.com * block
 * twitter.com * block
 * youtube-nocookie.com * block
 * youtube.com * block
 *
 * Don't forget to change your search engine.
 */

user_pref("accessibility.force_disabled", 1); // disable accesibility services connection
user_pref("app.normandy.enabled", false); // disable heartbeat
user_pref("app.shield.optoutstudies.enabled", false); // opt out studies
user_pref("beacon.enabled", false); // disable beacons https://w3c.github.io/beacon/
user_pref("browser.cache.offline.enable", false); // disable offline cache
user_pref("browser.discovery.enabled", false); // disable personalized extensions recommendations
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); // don't suggest addons
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); // don't suggest features
user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false); // avoid loading external sites on home
user_pref("browser.newtabpage.activity-stream.feeds.snippets", false); // avoid loading external sites on home
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); // avoid loading external sites on home
user_pref("browser.newtab.preload", false); // don't preload newtab
user_pref("browser.safebrowsing.download.enabled", false); // disable google safe browsing https://wiki.mozilla.org/Security/Download_Protection
user_pref("browser.safebrowsing.malware.enabled", false); // disable google safe browsing
user_pref("browser.safebrowsing.phishing.enabled", false); // disable google safe browsing
user_pref("browser.search.suggest.enabled", false); // disable search suggestions
user_pref("browser.search.update", false); // don't update search engines
user_pref("browser.urlbar.speculativeConnect.enabled", false); // disable speculative on-urlbar pre-connections
user_pref("browser.urlbar.suggest.topsites", false); // don't suggest "top sites" on URL bar
user_pref("datareporting.policy.dataSubmissionEnabled", false); // disable telemetry and health report submission ("master killswitch")
user_pref("datareporting.healthreport.uploadEnabled", false); // disable sending data to mozilla *just in case*
user_pref("extensions.getAddons.cache.enabled", false); // don't send addons metadata https://blog.mozilla.org/addons/how-to-opt-out-of-add-on-metadata-updates/
user_pref("extensions.getAddons.showPane", false); // disable about:addons "get add-ons" panel, uses google analytics
user_pref("extensions.pocket.enabled", false); // disable pocket
user_pref("geo.enabled", false); // disable geolocation
user_pref("media.video_stats.enabled", false); // disable video performance measuring
user_pref("network.captive-portal-service.enabled", false); // disable akamai captive portal checking on startup
user_pref("network.cookie.lifetimePolicy", 2); // delete cookies at the end of session
user_pref("network.dns.disablePrefetch", true); // disable DNS prefetching
user_pref("network.http.speculative-parallel-limit", 0); // disable speculative on-site pre-connections
user_pref("network.IDN_show_punycode", true); // display real hostnames
user_pref("network.predictor.enabled", false); // disable network predictor
user_pref("network.prefetch-next", false); // disable link prefecting
user_pref("network.trr.mode", 5); // disable cloudflare DNS over HTTP (DoH), aka. Trusted Recursive Resolver (TRR) https://wiki.mozilla.org/Trusted_Recursive_Resolver
user_pref("security.ssl.disable_session_identifiers", true); // disable TLS session identifiers https://youbroketheinternet.org/trackedanyway
user_pref("signon.autofillForms", false); // disable form autofill (unless you click the field)
user_pref("toolkit.telemetry.unified", false); // disable telemetry https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/internals/preferences.html
user_pref("toolkit.telemetry.archive.enabled", false); // disable local telemetry data collection
user_pref("webgl.renderer-string-override", " "); // override graphics card model 
user_pref("webgl.vendor-string-override", " "); // override graphics card vendor
user_pref("network.cookie.cookieBehavior", 0); // manage cookies with uMatrix/uBlock
user_pref("privacy.resistFingerprinting", true); // various fingerprinting resistance optimization
// user_pref("javascript.disabled", true); // Javascript presents various security threats
// user_pref("webgl.disabled", true); // WebGL presents various security threats
// user_pref("media.peerconnection.enabled", false); // WebRTC reveals true IP address
// user_pref("privacy.firstparty.isolate", true); // isolates cookies per domain

// As I'm using uMatrix I don't need the Disconnect.me protection
user_pref("privacy.trackingprotection.enabled", false);
user_pref("privacy.trackingprotection.pbmode.enabled", false); // privacy mode
user_pref("privacy.trackingprotection.cryptomining.enabled", false);
user_pref("privacy.trackingprotection.fingerprinting.enabled", false);

/* custom */
// user_pref("browser.newtabpage.enabled", false); // disable newtab page
user_pref("general.autoScroll", true); // scroll with mouse wheel
user_pref("layout.css.devPixelsPerPx", "1.2"); // for higher resolution monitors, else -1.0
user_pref("permissions.default.desktop-notification", 2); // disable notifications requests
user_pref("permissions.default.geo", 2); // disable geolocation requests
user_pref("signon.rememberSignons", false); // disable password manager
user_pref("datareporting.healthreport.uploadEnabled") // disable "picture-in-picture" video controls

D root/etc/skel/.mozilla/firefox/profiles.ini => root/etc/skel/.mozilla/firefox/profiles.ini +0 -4
@@ 1,4 0,0 @@
[Profile0]
Name=default
IsRelative=1
Path=default