summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xcontrol-center4
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index f7166cf9..24cf4ba8 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- port to WebKit2 (mga#15031)
(as a side effect, resident memory is lower :-) )
+- explicitely disable plugins & java
Version 13.2 - 24 February 2016, Thierry Vignaud
diff --git a/control-center b/control-center
index dc8575bd..38200c5e 100755
--- a/control-center
+++ b/control-center
@@ -688,6 +688,10 @@ my $offset = 15;
$view = gtknew('WebKit2_WebView', no_popup_menu => 1);
+my $settings = $view->get_settings;
+$settings->set_enable_plugins(0);
+$settings->set_enable_java(0);
+
# start a program if given --start-with= option:
$view->signal_connect('load-changed' => sub {
my (undef, $msg) = @_;