From: Christian Dywan Date: Sun, 13 Nov 2011 19:31:02 +0000 (+0100) Subject: Define navigator.javaEnabled and .mimeTypes X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52ae8c90e856c166c71476f1ba5e98c9db76664e;p=midori Define navigator.javaEnabled and .mimeTypes In private browsing 'navigator' is overridden. --- 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);