From 42fa621cd9bb1ea0dcf7cf4df9b13dc21eca2859 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Thu, 7 Apr 2011 22:10:21 +0200 Subject: [PATCH] Disable DNS prefetching in private browsing mode --- midori/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/midori/main.c b/midori/main.c index 4b5a4ce6..22db9958 100644 --- a/midori/main.c +++ b/midori/main.c @@ -2067,6 +2067,11 @@ main (int argc, #if WEBKIT_CHECK_VERSION (1, 1, 2) g_object_set (settings, "enable-private-browsing", TRUE, NULL); #endif + /* Arguably DNS prefetching is or isn't a privacy concern. For the + * lack of more fine-grained control we'll go the safe route. */ + #if WEBKIT_CHECK_VERSION (1, 3, 13) + g_object_set (settings, "enable-dns-prefetching", FALSE, NULL); + #endif midori_browser_set_action_visible (browser, "Tools", FALSE); midori_browser_set_action_visible (browser, "ClearPrivateData", FALSE); } -- 2.39.5