Compare commits

...

19 Commits

Author SHA1 Message Date
889da57c3d
more microsoft login domains + I am not touching browser ETP without a good reason. 2024-05-19 21:12:14 +03:00
6d87da0227
Does Microsoft seriously require en-GB? 2024-05-19 20:57:24 +03:00
c349dd04ef
Revert and WARN about autoconfig logPref
Apparently it's not allowed and as a result all settings specified there
vanish. Oops.

This reverts commit ae08cd834ecea27b1dd2976e1a975612546a7405.
2024-05-19 20:43:34 +03:00
ae08cd834e
autoconfig: use lockPref here as well 2024-05-19 20:39:52 +03:00
473d0ba704
firefox-forbidden-policies.js: use lockPref so it's clear what cannot be changed within the browser 2024-05-19 20:38:32 +03:00
81d1a2a0fb
privacy.userContext.extension is extra forbidden! 2024-05-19 20:32:14 +03:00
e066a99481
Does Mozilla have a point in not allowing me to customize fonts through policy? No comment. 2024-05-19 20:19:35 +03:00
5486aed454
forbidden policies: if I cannot clear it, I will lock it 2024-05-19 20:00:31 +03:00
fc8efef261
pre-commit: return & run pretty-format-json as I like its sorting 2024-05-19 19:49:46 +03:00
1585a6daae
firefox: or maybe I don't trust my family that much 2024-05-19 19:46:13 +03:00
a595a63355
.pre-commit-config.yaml: add prettier-plugin-sort-json 2024-05-19 19:37:26 +03:00
8b050a2bab
firefox: force enable phishing & malware protection
Although they can still be disabled through about:config, I am trusting my family to not start doing that
2024-05-19 19:31:14 +03:00
428f60d00e
chromium: recommend restoring previous session at startup
This is painful in testing otherwise
2024-05-19 19:02:48 +03:00
ee83db4ddc
firefox: comment fingerprinting protections for now 2024-05-19 19:01:38 +03:00
294bcb4049
policies.json: comment what is unclear and I understand, clear what I don't understand 2024-05-19 18:40:16 +03:00
3ec414c933
firefox: disable extension recommendations & default sending crashreports 2024-05-19 18:28:15 +03:00
c8e85859c3
{firefox,chromium}: accept regional languages as well to not fallback to Russian? 2024-05-19 18:22:21 +03:00
0e5b94c867
firefox: allow disabling peertube-companion, remove forgotten blocked_message & opendyslexic 2024-05-19 18:05:07 +03:00
6c3382683b
firefox: install facebook container 2024-05-19 18:02:54 +03:00
10 changed files with 260 additions and 99 deletions

View File

@ -49,15 +49,11 @@ repos:
- id: fix-byte-order-marker - id: fix-byte-order-marker
- id: mixed-line-ending - id: mixed-line-ending
args: [--fix=auto] args: [--fix=auto]
# Remember to check that prettier excludes it, if used! - id: pretty-format-json
#- id: pretty-format-json args:
# Breaks AdNauseam/uBlock Origin rules as the browser interprets
# values to be set for empty options.
#exclude: ^etc\/firefox\/policies\/policies.json|etc\/opt\/chromium\/policies\/managed\/aminda-extensions.json$
#args:
# Remember also: --no-sort-keys # Remember also: --no-sort-keys
# ASCII excludes the älphäbet amongst others # ASCII excludes the älphäbet amongst others
#[--autofix, --no-ensure-ascii] [--autofix, --no-ensure-ascii]
#- id: requirements-txt-fixer #- id: requirements-txt-fixer
# Synchronize dependencies between this file and package managers # Synchronize dependencies between this file and package managers
@ -134,8 +130,9 @@ repos:
rev: "v3.2.5" rev: "v3.2.5"
hooks: hooks:
- id: prettier - id: prettier
# These are handled by Black below # These are handled by Black below or pretty-format-json above, which
exclude_types: [python, pyi, jupyter] # can also sort keys.
exclude_types: [python, pyi, jupyter, json]
additional_dependencies: [ additional_dependencies: [
# https://www.npmjs.com/package/prettier # https://www.npmjs.com/package/prettier
"prettier@3.2.5", "prettier@3.2.5",
@ -143,6 +140,8 @@ repos:
"prettier-plugin-nginx@1.0.3", "prettier-plugin-nginx@1.0.3",
# https://www.npmjs.com/package/prettier-plugin-toml # https://www.npmjs.com/package/prettier-plugin-toml
"prettier-plugin-toml@2.0.1", "prettier-plugin-toml@2.0.1",
# https://www.npmjs.com/package/prettier-plugin-sort-json
#"prettier-plugin-sort-json@4.0.0",
] ]
# Black, opinionated Python code formatter # Black, opinionated Python code formatter

View File

@ -1,6 +1,8 @@
// This file belongs to Firefox `default/pref` directory. // This file belongs to Firefox `default/pref` directory.
// E.g. /usr/lib64/firefox/defaults/pref/ or ~/.local/firefox/defaults/pref/ // E.g. /usr/lib64/firefox/defaults/pref/ or ~/.local/firefox/defaults/pref/
// WARNING: lockPref() IS NOT ALLOWED HERE!
// However the file below belongs to ../../ e.g. /usr/lib/64/firefox/ or // However the file below belongs to ../../ e.g. /usr/lib/64/firefox/ or
// ~/.local/firefox/ // ~/.local/firefox/
//pref("general.config.filename", "librewolf.overrides.cfg"); //pref("general.config.filename", "librewolf.overrides.cfg");

View File

@ -1,5 +1,8 @@
// This file belongs to Firefox `default/pref` directory as `autoconfig.js`. // This file belongs to Firefox `default/pref` directory as `autoconfig.js`.
// E.g. /usr/lib64/firefox/defaults/pref/autoconfig.js // E.g. /usr/lib64/firefox/defaults/pref/autoconfig.js
// WARNING: lockPref() IS NOT ALLOWED HERE!
//pref("autoadmin.global_config_url","https://gitea.blesmrt.net/mikaela/shell-things/raw/branch/master/conf/firefox-forbidden-policies.js"); //pref("autoadmin.global_config_url","https://gitea.blesmrt.net/mikaela/shell-things/raw/branch/master/conf/firefox-forbidden-policies.js");
pref("autoadmin.global_config_url","file:///home/aminda/public_html/autoconfig.js"); pref("autoadmin.global_config_url","file:///home/aminda/public_html/autoconfig.js");
pref("general.config.obscure_value", 0); pref("general.config.obscure_value", 0);

View File

@ -1,63 +1,90 @@
//
// Remember to start writing at line 2. This is my second attempt at Firefox // Remember to start writing at line 2. This is my second attempt at Firefox
// autoconfig after being taught by LibreAwoo, but this time I am trying to // autoconfig after being taught by LibreAwoo, but this time I am trying to
// avoid duplicating my browser policy, which you can find from the same // avoid duplicating my browser policy, which you can find from the same
// repository, etc/firefox/policies/policies.json // repository, etc/firefox/policies/policies.json
// If autoconfig is not found, fallback. Also means this file. // If autoconfig is not found, fallback. Also means this file.
pref("autoadmin.failover_to_cached", true); lockPref("autoadmin.failover_to_cached", true);
pref( lockPref(
"autoadmin.global_config_url", "autoadmin.global_config_url",
"https://gitea.blesmrt.net/mikaela/shell-things/raw/branch/master/conf/firefox-forbidden-policies.js", "https://gitea.blesmrt.net/mikaela/shell-things/raw/branch/master/conf/firefox-forbidden-policies.js",
); );
pref("autoadmin.offline_failover", true); lockPref("autoadmin.offline_failover", true);
pref("autoadmin.refresh_interval", 120); lockPref("autoadmin.refresh_interval", 120);
// Automatically click cookiebanners although uBlock Origin might block them // Automatically click cookiebanners although uBlock Origin might block them
pref("cookiebanners.bannerClicking.enabled", true); lockPref("cookiebanners.bannerClicking.enabled", true);
pref("cookiebanners.service.mode", 2); lockPref("cookiebanners.service.mode", 2);
pref("cookiebanners.service.mode.privateBrowsing", 2); lockPref("cookiebanners.service.mode.privateBrowsing", 2);
// I can set my preferred fonts in an order! :O
// but obviously this is forbidden in policies.json!
lockPref(
"font.name-list.monospace.x-cyrillic",
"Noto Shanns Mono, monospace",
);
lockPref("font.name-list.monospace.x-western", "Noto Shanns Mono, monospace");
lockPref("font.name-list.sans-serif.x-cyrillic", "Noto Sans, sans-serif");
lockPref("font.name-list.sans-serif.x-western", "Noto Sans, sans-serif");
lockPref("font.name-list.serif.x-cyrillic", "Noto Serif, serif");
lockPref("font.name-list.serif.x-western", "Noto Serif, serif");
// Play animated images only once, accessibility. // Play animated images only once, accessibility.
pref("image.animation.mode", "once"); lockPref("image.animation.mode", "once");
// Spoof en-US as language to scripts // Spoof en-US as language to scripts
pref("javascript.use_us_english_locale", true); lockPref("javascript.use_us_english_locale", true);
// DNT although PrivacyBadger from policy handles this // DNT although PrivacyBadger from policy handles this
pref("privacy.donottrackheader.enabled", true); lockPref("privacy.donottrackheader.enabled", true);
pref("privacy.donottrackheader.value", 1); lockPref("privacy.donottrackheader.value", 1);
// More tunable privacy.resistfingerprinting. I have lost the privacy game // More tunable privacy.resistfingerprinting. I have lost the privacy game
// many times before this point, so this is nothing. // many times before this point, so this is nothing.
pref("privacy.fingerprintingProtection", true); //lockPref("privacy.fingerprintingProtection", true);
pref(
"privacy.fingerprintingProtection.overrides",
"+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-NavigatorPlatform,-NavigatorUserAgent,-JSDateTimeUTC,-HttpUserAgent,-FontVisibilityRestrictGenerics,-FontVisibilityBaseSystem,-FontVisibilityLangPack",
);
pref("privacy.fingerprintingProtection.pbmode", true);
// (Incompatible with the above)
pref("privacy.resistFingerprinting", false);
pref("privacy.resistFingerprinting.block_mozAddonManage", true);
// Letterboxing from Tor Browser, I like it in general.
pref("privacy.resistFingerprinting.letterboxing", true);
// Still Incompatible with the above
pref("privacy.resistFingerprinting.pbmode", false);
// Somehow I cannot clearPref this, so...
//clearPref("privacy.fingerprintingProtection");
lockPref("privacy.fingerprintingProtection", false);
//pref(
// "privacy.fingerprintingProtection.overrides",
// "+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-NavigatorPlatform,-NavigatorUserAgent,-JSDateTimeUTC,-HttpUserAgent,-FontVisibilityRestrictGenerics,-FontVisibilityBaseSystem,-FontVisibilityLangPack",
//);
clearPref("privacy.fingerprintingProtection.overrides");
//lockPref("privacy.fingerprintingProtection.pbmode", true);
clearPref("privacy.fingerprintingProtection.pbmode");
// (Incompatible with the above)
//lockPref("privacy.resistFingerprinting", false);
clearPref("privacy.resistFingerprinting");
//lockPref("privacy.resistFingerprinting.block_mozAddonManage", true);
clearPref("privacy.resistFingerprinting.block_mozAddonManage");
// Letterboxing from Tor Browser, I like it in general.
lockPref("privacy.resistFingerprinting.letterboxing", true);
// Still Incompatible with the above
//lockPref("privacy.resistFingerprinting.pbmode", false);
clearPref("privacy.resistFingerprinting.pbmode");
// Which extension requires container tabs? My policy and this file. This
// particular option is so forbidden, it cannot be set either in the policy
// or autoconfig.js
lockPref("privacy.userContext.extension", "");
// Enable containers without extensions (although those are forced by the // Enable containers without extensions (although those are forced by the
// policy. TODO: Remove these as they are in the policy, but disallowed by // policy. TODO: Remove these as they are in the policy, but disallowed by
// current ESR // current ESR
pref("privacy.userContext.enabled", true); lockPref("privacy.userContext.enabled", true);
pref("privacy.userContext.ui.enabled", true); lockPref("privacy.userContext.ui.enabled", true);
// Enables reading mode for all pages (at least in theory) // Enables reading mode for all pages (at least in theory)
pref("reader.parse-on-load.force-enabled", true); lockPref("reader.parse-on-load.force-enabled", true);
// Ensure OCSP stapling is enabled, especially if the server has it // Ensure OCSP stapling is enabled, especially if the server has it
pref("security.ssl.enable_ocsp_must_staple", true); lockPref("security.ssl.enable_ocsp_must_staple", true);
// TODO: Consider removing this when ESR updates as only it needs this for // TODO: Consider removing this when ESR updates as only it needs this for
// ECH, which is otherwise the default= // ECH, which is otherwise the default=
pref("security.tls.ech.grease_http3", true); lockPref("security.tls.ech.grease_http3", true);
// No making configuration on the last line of the file! // No making configuration on the last line of the file!
// //

View File

@ -21,7 +21,10 @@
"memory": { "memory": {
"format": "RAM {percentage}%" "format": "RAM {percentage}%"
}, },
"modules-left": ["sway/workspaces", "sway/mode"], "modules-left": [
"sway/workspaces",
"sway/mode"
],
"modules-right": [ "modules-right": [
"gamemode", "gamemode",
"cpu", "cpu",
@ -49,7 +52,10 @@
"pulseaudio": { "pulseaudio": {
"format": "VOL {volume}%", "format": "VOL {volume}%",
"format-bluetooth": "BT VOL {volume}%", "format-bluetooth": "BT VOL {volume}%",
"ignored-sinks": ["Easy Effects Sink", "Easy Effects Source"] "ignored-sinks": [
"Easy Effects Sink",
"Easy Effects Source"
]
}, },
"sway/language": { "sway/language": {
"format": "KBD {short} {variant}", "format": "KBD {short} {variant}",

View File

@ -4,7 +4,9 @@
"Extensions": { "Extensions": {
"adnauseam@rednoise.org": { "adnauseam@rednoise.org": {
"toAdd": { "toAdd": {
"trustedSiteDirectives": [""] "trustedSiteDirectives": [
""
]
}, },
"toOverwrite": { "toOverwrite": {
"filterLists": [ "filterLists": [
@ -16,7 +18,11 @@
}, },
"jid1-MnnxcxisBPnSXQ@jetpack": { "jid1-MnnxcxisBPnSXQ@jetpack": {
"checkForDNTPolicy": true, "checkForDNTPolicy": true,
"disabledSites": ["cloudflare.com", "ecosia.org", "keyoxide.org"], "disabledSites": [
"cloudflare.com",
"ecosia.org",
"keyoxide.org"
],
"learnInIncognito": true, "learnInIncognito": true,
"learnLocally": true, "learnLocally": true,
"sendDNTSignal": true, "sendDNTSignal": true,
@ -30,6 +36,7 @@
"uBlock0@raymondhill.net": { "uBlock0@raymondhill.net": {
"toAdd": { "toAdd": {
"trustedSiteDirectives": [ "trustedSiteDirectives": [
"azure.com",
"bittimittari.fi", "bittimittari.fi",
"chrome-extension-scheme", "chrome-extension-scheme",
"cloudflare.com", "cloudflare.com",
@ -43,7 +50,10 @@
"live.com", "live.com",
"matrix.org", "matrix.org",
"microsoft.com", "microsoft.com",
"microsoft365.com",
"microsoftonline.com",
"moz-extension-scheme", "moz-extension-scheme",
"office.com",
"one.one", "one.one",
"pikaviestin.fi" "pikaviestin.fi"
] ]
@ -101,7 +111,10 @@
}, },
"DNSOverHTTPS": { "DNSOverHTTPS": {
"Enabled": false, "Enabled": false,
"ExcludedDomains": ["http.badssl.com", "norwegianwifi.com"], "ExcludedDomains": [
"http.badssl.com",
"norwegianwifi.com"
],
"Fallback": true, "Fallback": true,
"Locked": true, "Locked": true,
"ProviderURL": "https://dns0.eu/", "ProviderURL": "https://dns0.eu/",
@ -115,24 +128,10 @@
"DisplayBookmarksToolbar": "never", "DisplayBookmarksToolbar": "never",
"DontCheckDefaultBrowser": true, "DontCheckDefaultBrowser": true,
"EnableTrackingProtection": { "EnableTrackingProtection": {
"Comment": "Managing tracking protection is left for the user unless there is a heavy reason to do otherwise.",
"Cryptomining": true, "Cryptomining": true,
"EmailTracking": true, "EmailTracking": true,
"Exceptions": [ "Exceptions": [
"https://ac.ecosia.org",
"https://app.element.io",
"https://bittimittari.fi",
"https://challenges.cloudflare.com",
"https://chat.pikaviestin.fi",
"https://develop.element.io",
"https://glowing-bear.org",
"https://keyoxide.org",
"https://latest.glowing-bear.org",
"https://learn.microsoft.com",
"https://one.one.one.one",
"https://pp-attester-turnstile.research.cloudflare.com",
"https://staging.element.io",
"https://teams.microsoft.com",
"https://webchat.disroot.org",
"https://www.ecosia.org" "https://www.ecosia.org"
], ],
"Fingerprinting": true, "Fingerprinting": true,
@ -144,6 +143,10 @@
"Locked": false "Locked": false
}, },
"ExtensionSettings": { "ExtensionSettings": {
"@contain-facebook": {
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/facebook-container/latest.xpi",
"installation_mode": "normal_installed"
},
"adnauseam@rednoise.org": { "adnauseam@rednoise.org": {
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/adnauseam/latest.xpi", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/adnauseam/latest.xpi",
"installation_mode": "blocked" "installation_mode": "blocked"
@ -162,14 +165,13 @@
}, },
"peertube-companion@booteille": { "peertube-companion@booteille": {
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/peertube-companion/latest.xpi", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/peertube-companion/latest.xpi",
"installation_mode": "force_installed" "installation_mode": "default_installed"
}, },
"plasma-browser-integration@kde.org": { "plasma-browser-integration@kde.org": {
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/plasma-integration/latest.xpi", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/plasma-integration/latest.xpi",
"installation_mode": "force_installed" "installation_mode": "force_installed"
}, },
"uBlock0@raymondhill.net": { "uBlock0@raymondhill.net": {
"blocked_install_message": "uBlock Origin on integroitu AdNauseamiin, joka on forkki siitä.",
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi",
"installation_mode": "force_installed" "installation_mode": "force_installed"
}, },
@ -202,10 +204,6 @@
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/http-indicator/latest.xpi", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/http-indicator/latest.xpi",
"installation_mode": "normal_installed" "installation_mode": "normal_installed"
}, },
"{759dbb01-b646-4327-bf9e-69ca2543ef8d}": {
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/opendyslexic-for-firefox/latest.xpi",
"installation_mode": "normal_installed"
},
"{a6c4a591-f1b2-4f03-b3ff-767e5bedf4e7}": { "{a6c4a591-f1b2-4f03-b3ff-767e5bedf4e7}": {
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/user-agent-string-switcher/latest.xpi", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/user-agent-string-switcher/latest.xpi",
"installation_mode": "normal_installed" "installation_mode": "normal_installed"
@ -273,7 +271,7 @@
"Value": 120 "Value": 120
}, },
"browser.aboutConfig.showWarning": { "browser.aboutConfig.showWarning": {
"Status": "locked", "Status": "default",
"Type": "boolean", "Type": "boolean",
"Value": false "Value": false
}, },
@ -302,6 +300,69 @@
"Type": "boolean", "Type": "boolean",
"Value": false "Value": false
}, },
"browser.crashReports.unsubmittedCheck.autoSubmit2": {
"Comment": "Automatically sending crash reports, but letting the user say no.",
"Status": "default",
"Type": "boolean",
"Value": true
},
"browser.discovery.enabled": {
"Comment": "This means personalized extension recommendations in extension management.",
"Status": "locked",
"Type": "boolean",
"Value": false
},
"browser.safebrowsing.blockedURIs.enabled": {
"Status": "locked",
"Type": "boolean",
"Value": true
},
"browser.safebrowsing.downloads.remote.url": {
"Status": "clear"
},
"browser.safebrowsing.malware.enabled": {
"Status": "locked",
"Type": "boolean",
"Value": true
},
"browser.safebrowsing.phishing.enabled": {
"Status": "locked",
"Type": "boolean",
"Value": true
},
"browser.safebrowsing.provider.google.gethashURL": {
"Status": "clear"
},
"browser.safebrowsing.provider.google.lists": {
"Status": "clear"
},
"browser.safebrowsing.provider.google.updateURL": {
"Status": "clear"
},
"browser.safebrowsing.provider.google4.dataSharingURL": {
"Status": "clear"
},
"browser.safebrowsing.provider.google4.gethashURL": {
"Status": "clear"
},
"browser.safebrowsing.provider.google4.updateURL": {
"Status": "clear"
},
"browser.safebrowsing.provider.mozilla.gethashURL": {
"Status": "clear"
},
"browser.safebrowsing.provider.mozilla.lists": {
"Status": "clear"
},
"browser.safebrowsing.provider.mozilla.lists.base": {
"Status": "clear"
},
"browser.safebrowsing.provider.mozilla.lists.content": {
"Status": "clear"
},
"browser.safebrowsing.provider.mozilla.updateURL": {
"Status": "clear"
},
"browser.translation.neverForLanguages": { "browser.translation.neverForLanguages": {
"Status": "default", "Status": "default",
"Type": "string", "Type": "string",
@ -340,12 +401,56 @@
"Type": "boolean", "Type": "boolean",
"Value": true "Value": true
}, },
"extensions.htmlaboutaddons.recommendations.enabled": {
"Comment": "This means the same, but without personalization.",
"Status": "locked",
"Type": "boolean",
"Value": false
},
"extensions.webextensions.restrictedDomains": { "extensions.webextensions.restrictedDomains": {
"Comment": "Don't protect Mozilla domains from privacy extensions.",
"Status": "locked", "Status": "locked",
"Type": "string", "Type": "string",
"Value": "" "Value": ""
}, },
"font.name-list.monospace.x-cyrillic": {
"Comment": "Preference not allowed for stability reasons.",
"Status": "default",
"Type": "string",
"Value": "Noto Shanns Mono, monospace"
},
"font.name-list.monospace.x-western": {
"Comment": "Preference not allowed for stability reasons.",
"Status": "default",
"Type": "string",
"Value": "Noto Shanns Mono, monospace"
},
"font.name-list.sans-serif.x-cyrillic": {
"Comment": "Preference not allowed for stability reasons.",
"Status": "default",
"Type": "string",
"Value": "Noto Sans, sans-serif"
},
"font.name-list.sans-serif.x-western": {
"Comment": "Preference not allowed for stability reasons.",
"Status": "default",
"Type": "string",
"Value": "Noto Sans, sans-serif"
},
"font.name-list.serif.x-cyrillic": {
"Comment": "Preference not allowed for stability reasons.",
"Status": "default",
"Type": "string",
"Value": "Noto Serif, serif"
},
"font.name-list.serif.x-western": {
"Comment": "Preference not allowed for stability reasons.",
"Status": "default",
"Type": "string",
"Value": "Noto Serif, serif"
},
"general.config.obscure_value": { "general.config.obscure_value": {
"Comment": "Required for autoconfig.",
"Status": "locked", "Status": "locked",
"Type": "number", "Type": "number",
"Value": 0 "Value": 0
@ -363,7 +468,7 @@
"intl.accept_languages": { "intl.accept_languages": {
"Status": "locked", "Status": "locked",
"Type": "string", "Type": "string",
"Value": "fi, en, ru" "Value": "fi, fi-FI, en, en-FI, en-EU, en-IE, en-GB, en-US, ru, ru-RU"
}, },
"javascript.use_us_english_locale": { "javascript.use_us_english_locale": {
"Comment": "Preference not allowed for stability reasons. :(", "Comment": "Preference not allowed for stability reasons. :(",
@ -377,16 +482,19 @@
"Value": "1.5" "Value": "1.5"
}, },
"layout.css.prefers-color-scheme.content-override": { "layout.css.prefers-color-scheme.content-override": {
"Comment": "Dark theme by default, disabling allowed",
"Status": "default", "Status": "default",
"Type": "number", "Type": "number",
"Value": 0 "Value": 0
}, },
"media.autoplay.default": { "media.autoplay.default": {
"Comment": "Not even autoplaying silently?",
"Status": "default", "Status": "default",
"Type": "number", "Type": "number",
"Value": 5 "Value": 5
}, },
"network.IDN_show_punycode": { "network.IDN_show_punycode": {
"Comment": "Protection against identically looking unicode domain names",
"Status": "locked", "Status": "locked",
"Type": "boolean", "Type": "boolean",
"Value": true "Value": true
@ -426,14 +534,10 @@
"Value": true "Value": true
}, },
"network.http.referer.XOriginTrimmingPolicy": { "network.http.referer.XOriginTrimmingPolicy": {
"Status": "default", "Status": "clear"
"Type": "number",
"Value": 2
}, },
"network.http.referer.defaultPolicy": { "network.http.referer.defaultPolicy": {
"Status": "default", "Status": "clear"
"Type": "number",
"Value": 1
}, },
"network.http.speculative-parallel-limit": { "network.http.speculative-parallel-limit": {
"Status": "clear" "Status": "clear"
@ -469,6 +573,7 @@
"Value": false "Value": false
}, },
"pdfjs.enableScripting": { "pdfjs.enableScripting": {
"Comment": "I don't see a good reason for allowing scripts in pdf files in a web browser.",
"Status": "locked", "Status": "locked",
"Type": "boolean", "Type": "boolean",
"Value": false "Value": false
@ -502,19 +607,19 @@
}, },
"privacy.fingerprintingProtection": { "privacy.fingerprintingProtection": {
"Comment": "Preference not allowed for stability reasons. :(", "Comment": "Preference not allowed for stability reasons. :(",
"Status": "locked", "Status": "clear",
"Type": "boolean", "Type": "boolean",
"Value": true "Value": true
}, },
"privacy.fingerprintingProtection.overrides": { "privacy.fingerprintingProtection.overrides": {
"Comment": "Preference not allowed for stability reasons. :(", "Comment": "Preference not allowed for stability reasons. :(",
"Status": "locked", "Status": "clear",
"Type": "string", "Type": "string",
"Value": "+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-NavigatorPlatform,-NavigatorUserAgent,-JSDateTimeUTC,-HttpUserAgent,-FontVisibilityRestrictGenerics,-FontVisibilityBaseSystem,-FontVisibilityLangPack" "Value": "+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-NavigatorPlatform,-NavigatorUserAgent,-JSDateTimeUTC,-HttpUserAgent,-FontVisibilityRestrictGenerics,-FontVisibilityBaseSystem,-FontVisibilityLangPack"
}, },
"privacy.fingerprintingProtection.pbmode": { "privacy.fingerprintingProtection.pbmode": {
"Comment": "Preference not allowed for stability reasons. :(", "Comment": "Preference not allowed for stability reasons. :(",
"Status": "locked", "Status": "clear",
"Type": "boolean", "Type": "boolean",
"Value": true "Value": true
}, },
@ -525,13 +630,13 @@
}, },
"privacy.resistFingerprinting": { "privacy.resistFingerprinting": {
"Comment": "Preference not allowed for stability reasons. :(", "Comment": "Preference not allowed for stability reasons. :(",
"Status": "locked", "Status": "clear",
"Type": "boolean", "Type": "boolean",
"Value": false "Value": false
}, },
"privacy.resistFingerprinting.block_mozAddonManage": { "privacy.resistFingerprinting.block_mozAddonManage": {
"Comment": "Preference not allowed for stability reasons. :(", "Comment": "Preference not allowed for stability reasons. :(",
"Status": "locked", "Status": "clear",
"Type": "boolean", "Type": "boolean",
"Value": true "Value": true
}, },
@ -543,16 +648,24 @@
}, },
"privacy.resistFingerprinting.pbmode": { "privacy.resistFingerprinting.pbmode": {
"Comment": "Preference not allowed for stability reasons. :(", "Comment": "Preference not allowed for stability reasons. :(",
"Status": "locked", "Status": "clear",
"Type": "boolean", "Type": "boolean",
"Value": false "Value": false
}, },
"privacy.userContext.enabled": { "privacy.userContext.enabled": {
"Comment": "Tab containers",
"Status": "locked", "Status": "locked",
"Type": "boolean", "Type": "boolean",
"Value": true "Value": true
}, },
"privacy.userContext.extension": {
"Comment": "Displays in settings which extension requires container tabs. None. it's this policy. Preference not allowed for stability reasons.",
"Status": "locked",
"Type": "string",
"Value": ""
},
"privacy.userContext.ui.enabled": { "privacy.userContext.ui.enabled": {
"Comment": "Tab containers UI without extensions",
"Status": "locked", "Status": "locked",
"Type": "boolean", "Type": "boolean",
"Value": true "Value": true
@ -596,6 +709,7 @@
"Value": true "Value": true
}, },
"ui.systemUsesDarkTheme": { "ui.systemUsesDarkTheme": {
"Comment": "Another defaulting to dark theme.",
"Status": "default", "Status": "default",
"Type": "number", "Type": "number",
"Value": 1 "Value": 1

View File

@ -10,6 +10,7 @@
"cjpalhdlnbpafiamejdnhcphjbkeiagm": { "cjpalhdlnbpafiamejdnhcphjbkeiagm": {
"toAdd": { "toAdd": {
"trustedSiteDirectives": [ "trustedSiteDirectives": [
"azure.com",
"bittimittari.fi", "bittimittari.fi",
"chrome-extension-scheme", "chrome-extension-scheme",
"cloudflare.com", "cloudflare.com",
@ -23,7 +24,10 @@
"live.com", "live.com",
"matrix.org", "matrix.org",
"microsoft.com", "microsoft.com",
"microsoft365.com",
"microsoftonline.com",
"moz-extension-scheme", "moz-extension-scheme",
"office.com",
"one.one", "one.one",
"pikaviestin.fi" "pikaviestin.fi"
] ]
@ -63,7 +67,9 @@
}, },
"mlojlfildnehdpnlmpkeiiglhhkofhpb": { "mlojlfildnehdpnlmpkeiiglhhkofhpb": {
"toAdd": { "toAdd": {
"trustedSiteDirectives": [""] "trustedSiteDirectives": [
""
]
}, },
"toOverwrite": { "toOverwrite": {
"filterLists": [ "filterLists": [
@ -75,7 +81,11 @@
}, },
"pkehgijcmpdhfbdbbnkijodmdjhbjlgp": { "pkehgijcmpdhfbdbbnkijodmdjhbjlgp": {
"checkForDNTPolicy": true, "checkForDNTPolicy": true,
"disabledSites": ["cloudflare.com", "ecosia.org", "keyoxide.org"], "disabledSites": [
"cloudflare.com",
"ecosia.org",
"keyoxide.org"
],
"learnInIncognito": true, "learnInIncognito": true,
"learnLocally": true, "learnLocally": true,
"sendDNTSignal": true, "sendDNTSignal": true,

View File

@ -1,20 +1,6 @@
{ {
"BraveShieldsDisabledForUrls": [ "BraveShieldsDisabledForUrls": [
"https://ac.ecosia.org",
"https://app.element.io",
"https://bittimittari.fi",
"https://challenges.cloudflare.com",
"https://chat.pikaviestin.fi",
"https://develop.element.io",
"https://glowing-bear.org",
"https://keyoxide.org",
"https://latest.glowing-bear.org",
"https://learn.microsoft.com",
"https://one.one.one.one",
"https://pp-attester-turnstile.research.cloudflare.com",
"https://staging.element.io",
"https://teams.microsoft.com",
"https://webchat.disroot.org",
"https://www.ecosia.org" "https://www.ecosia.org"
] ],
"BraveShieldsDisabledForUrls_comment": "Managing tracking protection is left for the user unless there is a heavy reason to do otherwise."
} }

View File

@ -1,3 +1,14 @@
{ {
"ForcedLanguages": ["fi", "en", "ru"] "ForcedLanguages": [
"fi",
"fi-FI",
"en",
"en-FI",
"en-EU",
"en-IE",
"en-GB",
"en-US",
"ru",
"ru-RU"
]
} }

View File

@ -0,0 +1,3 @@
{
"RestoreOnStartup": 1
}