Compare commits

..

6 Commits

5 changed files with 66 additions and 11 deletions

View File

@ -27,6 +27,7 @@ cat conf/librewolf.overrides.cfg >~/.librewolf/librewolf.overrides.cfg
cat conf/librewolf.overrides.cfg >~/.var/app/io.gitlab.librewolf-community/.librewolf/librewolf.overrides.cfg cat conf/librewolf.overrides.cfg >~/.var/app/io.gitlab.librewolf-community/.librewolf/librewolf.overrides.cfg
mkdir -p ~/.local/share/applications mkdir -p ~/.local/share/applications
ln -sfv ~/.shell-things/local/share/applications ~/.local/share/applications/shell-things ln -sfv ~/.shell-things/local/share/applications ~/.local/share/applications/shell-things
rm -fv ~/.shell-things/local/share/applications/applications
if hash update-desktop-database 2>/dev/null; then if hash update-desktop-database 2>/dev/null; then
update-desktop-database ~/.local/share/applications update-desktop-database ~/.local/share/applications
fi fi

View File

@ -108,12 +108,14 @@ pref("network.IDN_show_punycode", true);
pref("reader.parse-on-load.force-enabled", true); pref("reader.parse-on-load.force-enabled", true);
// TRR & ECH // TRR & ECH
// Mode 2 allows fallback to system resolver, 3 is TTR-only // WARNING: policies.json lock enforces mode 2. However it won't matter
// since the system resolver is encrypted, right?
// Mode 2 allows fallback to system resolver, 3 is TTR-only.
//pref("network.trr.mode", 2); //pref("network.trr.mode", 2);
defaultPref("network.trr.mode", 3); defaultPref("network.trr.mode", 3);
pref("network.trr.early-AAAA", true); pref("network.trr.early-AAAA", true);
//defaultPref("network.trr.uri", "https://dns0.eu/"); //defaultPref("network.trr.uri", "https://dns0.eu/");
defaultPref("network.trr.uri"), "https://dns11.quad9.net/dns-query"); defaultPref("network.trr.uri", "https://dns11.quad9.net/dns-query");
//defaultPref("network.trr.uri", "https://dns.adguard-dns.com/dns-query"); //defaultPref("network.trr.uri", "https://dns.adguard-dns.com/dns-query");
// NOTE: ECH requires TRR, so mode 2 may not use it. // NOTE: ECH requires TRR, so mode 2 may not use it.
defaultPref("network.trr.disable-ECS", false); defaultPref("network.trr.disable-ECS", false);

View File

@ -13,9 +13,12 @@ per whatever I am doing.
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
- [WARNING TO LIBREWOLF USERS](#warning-to-librewolf-users) - [WARNING TO LIBREWOLF USERS](#warning-to-librewolf-users)
- [WARNING TO TRR/ENCRYPTED DNS USERS!](#warning-to-trrencrypted-dns-users)
- [Extensions](#extensions) - [Extensions](#extensions)
- [Privacy Badger](#privacy-badger) - [Privacy Badger](#privacy-badger)
- [Search engines](#search-engines) - [Search engines](#search-engines)
- [Useful looking things for the future](#useful-looking-things-for-the-future)
- [Certificate installations](#certificate-installations)
<!-- END doctoc generated TOC please keep comment here to allow auto update --> <!-- END doctoc generated TOC please keep comment here to allow auto update -->
@ -28,6 +31,11 @@ This file takes priority over
`/usr/share/librewolf/distribution/policies.json` so don't apply this or `/usr/share/librewolf/distribution/policies.json` so don't apply this or
a lot of LibreWolf specific customizations stops being in force. a lot of LibreWolf specific customizations stops being in force.
## WARNING TO TRR/ENCRYPTED DNS USERS!
If `policies.json` locks DNS over HTTPS, `trr.mode` gets locked into `2` which
means fallback to system resolver.
## Extensions ## Extensions
They are mostly self-explanatory. They are mostly self-explanatory.
@ -53,3 +61,15 @@ when testing this policy I won't have to see Google.
Additionally it's a lie since at least Nightly reads it too without Additionally it's a lie since at least Nightly reads it too without
complaining. complaining.
## Useful looking things for the future
### Certificate installations
In the `certificates` section
```json
{
"Install": ["my_certificate_here.pem"]
}
```

View File

@ -67,9 +67,21 @@
} }
} }
}, },
"Certificates": {
"ImportEnterpriseRoots": false
},
"Containers": {
"Default": [
{
"color": "red",
"icon": "fence",
"name": "DIY"
}
]
},
"DNSOverHTTPS": { "DNSOverHTTPS": {
"Enabled": true, "Enabled": true,
"Locked": false, "Locked": true,
"ProviderURL": "https://dns11.quad9.net/dns-query" "ProviderURL": "https://dns11.quad9.net/dns-query"
}, },
"DisableEncryptedClientHello": false, "DisableEncryptedClientHello": false,
@ -78,6 +90,7 @@
"DontCheckDefaultBrowser": true, "DontCheckDefaultBrowser": true,
"EnableTrackingProtection": { "EnableTrackingProtection": {
"Cryptomining": true, "Cryptomining": true,
"EmailTracking": true,
"Exceptions": [ "Exceptions": [
"https://app.element.io", "https://app.element.io",
"https://staging.element.io", "https://staging.element.io",
@ -99,6 +112,10 @@
"Locked": false, "Locked": false,
"Value": true "Value": true
}, },
"EncryptedMediaExtensions": {
"Enabled": true,
"Locked": false
},
"ExtensionSettings": { "ExtensionSettings": {
"addon@darkreader.org": { "addon@darkreader.org": {
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi",
@ -183,6 +200,17 @@
"StartPage": "previous-session", "StartPage": "previous-session",
"URL": "about:mozilla" "URL": "about:mozilla"
}, },
"OverrideFirstRunPage": "about:mozilla",
"PDFjs": {
"EnablePermissions": false,
"Enabled": true
},
"Preferences": {
"pdfjs.enableScripting": {
"Status": "locked",
"Value": false
}
},
"SearchEngines": { "SearchEngines": {
"Add": [ "Add": [
{ {
@ -199,25 +227,23 @@
"Description": "DuckDuckGo Start page version", "Description": "DuckDuckGo Start page version",
"Method": "GET", "Method": "GET",
"Name": "DuckDuckGo Start", "Name": "DuckDuckGo Start",
"PostData": "q={searchTerms}",
"SuggestURLTemplate": "https://start.duckduckgo.com/ac/?q={searchTerms}&type=list", "SuggestURLTemplate": "https://start.duckduckgo.com/ac/?q={searchTerms}&type=list",
"URLTemplate": "https://start.duckduckgo.com/?q={searchTerms}" "URLTemplate": "https://start.duckduckgo.com/?q={searchTerms}"
}, },
{ {
"Alias": "e", "Alias": "e",
"Description": "Ecosia Search Engine", "Description": "Ecosia Search Engine",
"IconURL": "https://cdn-static.ecosia.org/static/icons/favicon.ico",
"Method": "GET", "Method": "GET",
"Name": "Ecosia", "Name": "Ecosia",
"PostData": "q={searchTerms}",
"SuggestURLTemplate": "https://ac.ecosia.org/autocomplete?q={searchTerms}", "SuggestURLTemplate": "https://ac.ecosia.org/autocomplete?q={searchTerms}",
"URLTemplate": "https://www.ecosia.org/search?q={searchTerms}" "URLTemplate": "https://www.ecosia.org/search?q={searchTerms}&addon=firefoxgpo"
}, },
{ {
"Alias": "b", "Alias": "b",
"Description": "Brave Search", "Description": "Brave Search",
"Method": "GET", "Method": "GET",
"Name": "Brave Search", "Name": "Brave Search",
"PostData": "q={searchTerms}",
"SuggestURLTemplate": "https://search.brave.com/api/suggest?q={searchTerms}", "SuggestURLTemplate": "https://search.brave.com/api/suggest?q={searchTerms}",
"URLTemplate": "https://search.brave.com/search?q={searchTerms}" "URLTemplate": "https://search.brave.com/search?q={searchTerms}"
}, },
@ -226,13 +252,18 @@
"Description": "Brave Search Goggles", "Description": "Brave Search Goggles",
"Method": "GET", "Method": "GET",
"Name": "Brave Search Goggles", "Name": "Brave Search Goggles",
"PostData": "q={searchTerms}",
"SuggestURLTemplate": "https://search.brave.com/api/suggest?q={searchTerms}", "SuggestURLTemplate": "https://search.brave.com/api/suggest?q={searchTerms}",
"URLTemplate": "https://search.brave.com/goggles?q={searchTerms}" "URLTemplate": "https://search.brave.com/goggles?q={searchTerms}"
} }
], ],
"Default": "Ecosia" "Default": "Ecosia"
}, },
"SearchSuggestEnabled": false "SearchSuggestEnabled": false,
"SecurityDevices": {
"Add": {
"Fujitsu mPollux DigiSignApplication": "/usr/lib64/libcryptoki.so"
}
},
"ShowHomeButton": true
} }
} }

View File

@ -1,8 +1,9 @@
{ {
"DefaultSearchProviderEnabled": true, "DefaultSearchProviderEnabled": true,
"DefaultSearchProviderImageURL": "https://cdn-static.ecosia.org/static/icons/favicon.ico",
"DefaultSearchProviderKeyword": "e", "DefaultSearchProviderKeyword": "e",
"DefaultSearchProviderName": "Ecosia", "DefaultSearchProviderName": "Ecosia",
"DefaultSearchProviderNewTabURL": "https://www.ecosia.org/newtab/", "DefaultSearchProviderNewTabURL": "https://www.ecosia.org/newtab/?addon=chromegpo",
"DefaultSearchProviderSearchURL": "https://www.ecosia.org/search?q={searchTerms}", "DefaultSearchProviderSearchURL": "https://www.ecosia.org/search?q={searchTerms}&addon=chromegpo",
"DefaultSearchProviderSuggestURL": "https://ac.ecosia.org/autocomplete?q={searchTerms}" "DefaultSearchProviderSuggestURL": "https://ac.ecosia.org/autocomplete?q={searchTerms}"
} }