diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-03-18 13:13:25 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-03-18 13:15:47 +0100 |
commit | 385d47f87a0f97366ed1f644fc0524d040918fb0 (patch) | |
tree | 2ac0e6419b53d39b74c5bdf94ad258d44bd8626e | |
parent | 2ccf5e51248825547c2ca44d2d892ee9d35a979c (diff) | |
download | control-center-385d47f87a0f97366ed1f644fc0524d040918fb0.tar control-center-385d47f87a0f97366ed1f644fc0524d040918fb0.tar.gz control-center-385d47f87a0f97366ed1f644fc0524d040918fb0.tar.bz2 control-center-385d47f87a0f97366ed1f644fc0524d040918fb0.tar.xz control-center-385d47f87a0f97366ed1f644fc0524d040918fb0.zip |
explicitely disable plugins & java
though they do not seem to be loaded anymore since we switched from
webkit1 to webkit2...
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | control-center | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -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) = @_; |