From 308d031a84b74a6828cf8811bbff6a5772ea5b8c Mon Sep 17 00:00:00 2001 From: yokoffing <11689349+yokoffing@users.noreply.github.com> Date: Thu, 17 Apr 2025 16:58:23 -0400 Subject: [PATCH] Updated Optional Hardening (markdown) --- Optional-Hardening.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Optional-Hardening.md b/Optional-Hardening.md index 4d592eb..80f2317 100644 --- a/Optional-Hardening.md +++ b/Optional-Hardening.md @@ -87,6 +87,20 @@ user_pref("dom.security.https_only_mode_error_page_user_suggestions", true); *** +### Captive portal detection +Captive portals allow you to connect to public Wi-Fi by redirecting to login pages (think hotels, airports, etc.). You can safely disable Mozilla's [captive portal detection](https://support.mozilla.org/en-US/kb/captive-portal) on a **desktop** computer. + +If you disable captive portals on a **mobile** device, then you'll need a separate browser to connect to the internet on public Wi-Fi and some [company networks](https://github.com/yokoffing/Betterfox/discussions/377). + +```javascript +// PREF: disable captive portal detection +user_pref("captivedetect.canonicalURL", ""); +user_pref("network.captive-portal-service.enabled", false); +user_pref("network.connectivity-service.enabled", false); +``` + +*** + ### Secure DNS Setup and enforce [DNS-over-HTTPS](https://support.mozilla.org/en-US/kb/firefox-dns-over-https) (DoH).