Define navigator.javaEnabled and .mimeTypes
In private browsing 'navigator' is overridden.
This commit is contained in:
parent
069ade42d0
commit
52ae8c90e8
1 changed files with 2 additions and 0 deletions
|
@ -2953,6 +2953,8 @@ webkit_web_view_window_object_cleared_cb (GtkWidget* web_view,
|
||||||
"'language': 'en-US',"
|
"'language': 'en-US',"
|
||||||
"'platform': 'Linux i686',"
|
"'platform': 'Linux i686',"
|
||||||
"'cookieEnabled': true,"
|
"'cookieEnabled': true,"
|
||||||
|
"'javaEnabled': function () { return true; },"
|
||||||
|
"'mimeTypes': {},"
|
||||||
"'plugins': {'refresh': function () { } } };",
|
"'plugins': {'refresh': function () { } } };",
|
||||||
NULL);
|
NULL);
|
||||||
g_free (result);
|
g_free (result);
|
||||||
|
|
Loading…
Reference in a new issue