From 20a10f03d4b14d68a77db88feea95cfcdbef8d34 Mon Sep 17 00:00:00 2001 From: Mark Walker Date: Sun, 28 Apr 2024 10:33:49 +0800 Subject: Add force https mode Implement an option to force all http urls to be upgraded to HTTPS, similar to HTTPS-Only Mode in Firefox. A http_force_https preference variable is provided as well as a menu bar item to toggle this mode. See: https://support.mozilla.org/en-US/kb/https-only-prefs --- src/prefs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/prefs.h') diff --git a/src/prefs.h b/src/prefs.h index 0073d52a..b234176f 100644 --- a/src/prefs.h +++ b/src/prefs.h @@ -97,6 +97,7 @@ typedef struct { bool_t parse_embedded_css; bool_t http_persistent_conns; bool_t http_strict_transport_security; + bool_t http_force_https; int32_t buffered_drawing; char *font_serif; char *font_sans_serif; -- cgit v1.2.3