[Xfce4-commits] <tumbler:jeromeg/webkit-thumbnailer-rebased> Improve WebView settings.
Jérôme Guelfucci
noreply at xfce.org
Sun Feb 24 14:42:09 CET 2013
Updating branch refs/heads/jeromeg/webkit-thumbnailer-rebased
to 512b9a8ba933e7b5f965b3095c21ad05f0c3fc3b (commit)
from 99bb871d7859b4373d8ae287e49084b291152cba (commit)
commit 512b9a8ba933e7b5f965b3095c21ad05f0c3fc3b
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Sat Jun 4 11:42:47 2011 +0200
Improve WebView settings.
plugins/webkit-thumbnailer/webkit-thumbnailer.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/plugins/webkit-thumbnailer/webkit-thumbnailer.c b/plugins/webkit-thumbnailer/webkit-thumbnailer.c
index e30559e..2a73a4e 100644
--- a/plugins/webkit-thumbnailer/webkit-thumbnailer.c
+++ b/plugins/webkit-thumbnailer/webkit-thumbnailer.c
@@ -141,11 +141,14 @@ webkit_thumbnailer_init (WebkitThumbnailer *thumbnailer)
/* disable plugins, javascript, java and html5 local features */
g_object_set (G_OBJECT(settings),
- "enable-scripts", FALSE,
- "enable-plugins", FALSE,
+ "auto-resize-window", FALSE,
"enable-html5-database", FALSE,
"enable-html5-local-storage", FALSE,
"enable-java-applet", FALSE,
+ "enable-plugins", FALSE,
+ "enable-private-browsing", TRUE,
+ "enable-scripts", FALSE,
+ "enable-universal-access-from-file-uris", FALSE,
NULL);
/* apply the result to the web view */
More information about the Xfce4-commits
mailing list