mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-20 21:37:24 +02:00
Compare commits
No commits in common. "8b0e28f417ea9eab922dc00d9a2c89a5c81db2cf" and "2620f975fcf812a42e9a8463ff191c6478c2e6f9" have entirely different histories.
8b0e28f417
...
2620f975fc
@ -58,12 +58,6 @@ repos:
|
|||||||
[--autofix, --no-ensure-ascii]
|
[--autofix, --no-ensure-ascii]
|
||||||
#- id: requirements-txt-fixer
|
#- id: requirements-txt-fixer
|
||||||
|
|
||||||
# Synchronize dependencies between this file and package managers
|
|
||||||
- repo: https://github.com/pre-commit/sync-pre-commit-deps
|
|
||||||
rev: v0.0.1
|
|
||||||
hooks:
|
|
||||||
- id: sync-pre-commit-deps
|
|
||||||
|
|
||||||
# Checks the ci: section on top of the file
|
# Checks the ci: section on top of the file
|
||||||
- repo: https://github.com/pre-commit-ci/pre-commit-ci-config
|
- repo: https://github.com/pre-commit-ci/pre-commit-ci-config
|
||||||
rev: v1.6.1
|
rev: v1.6.1
|
||||||
|
@ -8,9 +8,15 @@
|
|||||||
// and finally becoming Firefox autoconfig file copied from
|
// and finally becoming Firefox autoconfig file copied from
|
||||||
// https://codeberg.org/librewolf/settings/src/branch/master/librewolf.cfg
|
// https://codeberg.org/librewolf/settings/src/branch/master/librewolf.cfg
|
||||||
|
|
||||||
|
// -----
|
||||||
|
// I often need to refer to these options which aren't yet remembered by heart
|
||||||
|
|
||||||
|
// Note to self on disabling protection of Mozilla pages. This may be a
|
||||||
|
// LibreWolf default so thus commented:
|
||||||
// via https://www.ghacks.net/2017/10/27/how-to-enable-firefox-webextensions-on-mozilla-websites/
|
// via https://www.ghacks.net/2017/10/27/how-to-enable-firefox-webextensions-on-mozilla-websites/
|
||||||
pref("extensions.webextensions.restrictedDomains", "");
|
pref("extensions.webextensions.restrictedDomains", "");
|
||||||
//pref("privacy.resistFingerprinting.block_mozAddonManage", true);
|
pref("privacy.resistFingerprinting.block_mozAddonManage", true);
|
||||||
|
|
||||||
// Block cookie banners. Warning: may result to auto-accepting cookies.
|
// Block cookie banners. Warning: may result to auto-accepting cookies.
|
||||||
// https://www.ghacks.net/2022/12/24/configure-firefox-to-reject-cookie-banners-automatically/
|
// https://www.ghacks.net/2022/12/24/configure-firefox-to-reject-cookie-banners-automatically/
|
||||||
pref("cookiebanners.service.mode", 2);
|
pref("cookiebanners.service.mode", 2);
|
||||||
@ -20,40 +26,32 @@ pref("cookiebanners.bannerClicking.enabled", true);
|
|||||||
// https://globalprivacycontrol.org/ the successor of DNT
|
// https://globalprivacycontrol.org/ the successor of DNT
|
||||||
pref("privacy.globalprivacycontrol.enabled", true);
|
pref("privacy.globalprivacycontrol.enabled", true);
|
||||||
pref("privacy.globalprivacycontrol.functionality.enabled", true);
|
pref("privacy.globalprivacycontrol.functionality.enabled", true);
|
||||||
|
// and DNT itself
|
||||||
pref("privacy.donottrackheader.enabled", true);
|
pref("privacy.donottrackheader.enabled", true);
|
||||||
pref("privacy.donottrackheader.value", 1);
|
pref("privacy.donottrackheader.value", 1);
|
||||||
|
|
||||||
// Conflicts with fingerprintingProtection
|
// -----
|
||||||
pref("privacy.resistFingerprinting", false);
|
|
||||||
pref("privacy.resistFingerprinting.pbmode", false);
|
// I would like to use this, but forced light mode is a dealbreaker
|
||||||
|
// (floaters), UTC makes Mobilizon difficult, Privacy Badger blocks 3rd party
|
||||||
|
// canvas and I want to appear as a Finnish Linux user rather than English
|
||||||
|
// Windows NT one (telemetry, voting vs spying).
|
||||||
|
defaultPref("privacy.resistFingerprinting", true);
|
||||||
|
// Or I could excempt things from it? Other than it not overriding timezone
|
||||||
|
defaultPref("privacy.resistFingerprinting.testGranularityMask", 4);
|
||||||
|
defaultPref(
|
||||||
|
"privacy.resistFingerprinting.exemptedDomains",
|
||||||
|
"jarkkaa.fi,*.element.io,*.google.com,*.pikaviestin.fi,*.envs.net,*.wikimedia.org,*.wikipedia.org,duckduckgo.com,*.duckduckgo.com,*.blesmrt.net,*.piraatit.fi,*.piraattipuolue.fi,*.apple.com,*.op.fi,*.s-pankki.fi,*.revolut.com,*.n26.com,fedoraproject.org,*.fedoraproject.org,music.youtube.com"
|
||||||
|
);
|
||||||
|
|
||||||
// Enable letterboxing
|
// Enable letterboxing
|
||||||
pref("privacy.resistFingerprinting.letterboxing", true);
|
pref("privacy.resistFingerprinting.letterboxing", true);
|
||||||
|
|
||||||
// Timezone spoofing. I cannot handle it with many pages.
|
// Timezone spoofing. I cannot handle it with many pages.
|
||||||
//pref("privacy.resistFingerprinting.spoofTimezone", false);
|
pref("privacy.resistFingerprinting.spoofTimezone", false);
|
||||||
|
|
||||||
// Fingerprinting protection and what to not protect. Via https://superuser.com/questions/1610744/how-do-i-get-around-resistfingerprinting-setting-my-preferred-firefox-theme-to-l/1815927#1815927
|
|
||||||
pref("privacy.fingerprintingProtection", true);
|
|
||||||
pref("privacy.fingerprintingProtection.pbmode", true);
|
|
||||||
// Use all protections, except make compromises for accessibility and
|
|
||||||
// usability. https://searchfox.org/mozilla-central/source/toolkit/components/resistfingerprinting/RFPTargets.inc
|
|
||||||
pref("privacy.fingerprintingProtection.overrides", "+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-JSDateTimeUTC");
|
|
||||||
|
|
||||||
// :( but fingerprintability
|
|
||||||
pref("javascript.use_us_english_locale", true);
|
|
||||||
//pref("intl.accept_languages", "en-US, en");
|
|
||||||
// Then again I already lost the fingerprintability game
|
|
||||||
pref("intl.accept_languages", "fi, en");
|
|
||||||
|
|
||||||
// No JavaScript allowed in internal pdf viewer
|
|
||||||
pref("pdfjs.enableScripting", false);
|
|
||||||
|
|
||||||
// Dark mode
|
|
||||||
pref("ui.systemUsesDarkTheme", 1);
|
|
||||||
pref("prefers-color-scheme", "dark");
|
|
||||||
pref("pdfjs.viewerCssTheme", 2);
|
|
||||||
|
|
||||||
// Enable Firefox accounts
|
// Enable Firefox accounts
|
||||||
pref("identity.fxaccounts.enabled", true);
|
defaultPref("identity.fxaccounts.enabled", true);
|
||||||
|
|
||||||
// Settings on what to clear on quit
|
// Settings on what to clear on quit
|
||||||
// - Goal: let Element Web & co stay logged in
|
// - Goal: let Element Web & co stay logged in
|
||||||
@ -95,7 +93,10 @@ pref("network.trr.disable-ECS", false);
|
|||||||
pref("network.dns.echconfig.enabled", true);
|
pref("network.dns.echconfig.enabled", true);
|
||||||
pref("network.dns.use_https_rr_as_altsvc", true);
|
pref("network.dns.use_https_rr_as_altsvc", true);
|
||||||
pref("network.trr.exclude-etc-hosts", false);
|
pref("network.trr.exclude-etc-hosts", false);
|
||||||
pref("network.trr.excluded-domains", "http.badssl.com,norwegianwifi.com,mywifiext.net,tplinkrepeater.net,router.asus.com",);
|
pref(
|
||||||
|
"network.trr.excluded-domains",
|
||||||
|
"http.badssl.com,norwegianwifi.com,mywifiext.net,tplinkrepeater.net,router.asus.com",
|
||||||
|
);
|
||||||
|
|
||||||
// Default UI scale
|
// Default UI scale
|
||||||
pref("layout.css.devPixelsPerPx", "1.5");
|
pref("layout.css.devPixelsPerPx", "1.5");
|
||||||
@ -205,11 +206,20 @@ pref("permissions.manager.defaultsUrl", ""); // revoke special permissions for s
|
|||||||
|
|
||||||
// Aminda stripped safebrowsing here as even in LibreWolf filtering DNS is used + the extensions.
|
// Aminda stripped safebrowsing here as even in LibreWolf filtering DNS is used + the extensions.
|
||||||
|
|
||||||
|
pref("pdfjs.enableScripting", false); // disable js scripting in the built-in pdf reader
|
||||||
|
|
||||||
pref("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
|
pref("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
|
||||||
// Although I doubt they will improve accuracy, why not?
|
// Although I doubt they will improve accuracy, why not?
|
||||||
pref("geo.provider.use_gpsd", true); // [LINUX]
|
pref("geo.provider.use_gpsd", true); // [LINUX]
|
||||||
pref("geo.provider.use_geoclue", true); // [LINUX]
|
pref("geo.provider.use_geoclue", true); // [LINUX]
|
||||||
|
|
||||||
|
// Aminda: :(
|
||||||
|
/** [SECTION] LANGUAGE
|
||||||
|
* show language as en-US for all users, regardless of their OS language and browser language.
|
||||||
|
* both prefs must use pref() and not defaultPref to work.
|
||||||
|
*/
|
||||||
|
pref("javascript.use_us_english_locale", true);
|
||||||
|
pref("intl.accept_languages", "en-US, en");
|
||||||
// disable region specific updates from mozilla
|
// disable region specific updates from mozilla
|
||||||
pref("browser.region.network.url", "");
|
pref("browser.region.network.url", "");
|
||||||
pref("browser.region.update.enabled", false);
|
pref("browser.region.update.enabled", false);
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
},
|
},
|
||||||
"{3c078156-979c-498b-8990-85f7987dd929}": {
|
"{3c078156-979c-498b-8990-85f7987dd929}": {
|
||||||
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/sidebery/latest.xpi",
|
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/sidebery/latest.xpi",
|
||||||
"installation_mode": "force_installed"
|
"installation_mode": "normal_installed"
|
||||||
},
|
},
|
||||||
"{446900e4-71c2-419f-a6a7-df9c091e268b}": {
|
"{446900e4-71c2-419f-a6a7-df9c091e268b}": {
|
||||||
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi",
|
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user