From 52ae8c90e856c166c71476f1ba5e98c9db76664e Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 13 Nov 2011 20:31:02 +0100 Subject: [PATCH] Define navigator.javaEnabled and .mimeTypes In private browsing 'navigator' is overridden. --- midori/midori-view.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/midori/midori-view.c b/midori/midori-view.c index 86ea575c..a63aba17 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -2953,6 +2953,8 @@ webkit_web_view_window_object_cleared_cb (GtkWidget* web_view, "'language': 'en-US'," "'platform': 'Linux i686'," "'cookieEnabled': true," + "'javaEnabled': function () { return true; }," + "'mimeTypes': {}," "'plugins': {'refresh': function () { } } };", NULL); g_free (result); -- 2.39.5