Firefox : Enable HTTPS-only mode.

This commit is contained in:
Dmitry Voronin 2024-08-21 11:49:33 +03:00
parent 432b589ca1
commit 34d7bb4bf3
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -45,6 +45,10 @@
// Disable built-in DoH. // Disable built-in DoH.
user_pref("doh-rollout.disable-heuristics", true); user_pref("doh-rollout.disable-heuristics", true);
user_pref("network.trr.mode", 5); user_pref("network.trr.mode", 5);
// HTTPS only mode.
user_pref("dom.security.https_only_mode", true);
user_pref("dom.security.https_only_mode_ever_enabled", true);
''; '';
mkExtension = install_url: { mkExtension = install_url: {