[Xfce4-commits] <midori:master> Define navigator.javaEnabled and .mimeTypes

Christian Dywan noreply at xfce.org
Tue Nov 15 18:36:05 CET 2011


Updating branch refs/heads/master
         to 52ae8c90e856c166c71476f1ba5e98c9db76664e (commit)
       from 069ade42d07de4fca2945fa899cb474de2e8d39a (commit)

commit 52ae8c90e856c166c71476f1ba5e98c9db76664e
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Nov 13 20:31:02 2011 +0100

    Define navigator.javaEnabled and .mimeTypes
    
    In private browsing 'navigator' is overridden.

 midori/midori-view.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index 86ea575..a63aba1 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);


More information about the Xfce4-commits mailing list