From 97e2f2198fd4af660773f8b6a7ea41430203342f Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Mon, 4 Jan 2021 23:29:47 +0100 Subject: [PATCH] enable HTTPS only mode by default --- librewolf.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/librewolf.cfg b/librewolf.cfg index ec32620..61072f5 100644 --- a/librewolf.cfg +++ b/librewolf.cfg @@ -2769,3 +2769,7 @@ defaultPref("toolkit.legacyUserProfileCustomizations.stylesheets", false); // to be set for the console to work, see https://gitlab.com/librewolf-community/browser/linux/-/issues/80: defaultPref("devtools.selfxss.count", 0); + +// enable HTTPS only mode by default +defaultPref("dom.security.https_only_mode", true); +defaultPref("dom.security.https_only_mode_ever_enabled", true);