Disable Javascript #1171

Merged
kekkyojin merged 1 commit from disable-javascript into master 2021-03-15 20:08:19 +01:00

View file

@ -565,7 +565,7 @@ public class FileViewFragment extends BaseFragment implements
webView.setWebViewClient(new LbryWebViewClient(ctx)); webView.setWebViewClient(new LbryWebViewClient(ctx));
WebSettings webSettings = webView.getSettings(); WebSettings webSettings = webView.getSettings();
webSettings.setAllowFileAccess(true); webSettings.setAllowFileAccess(true);
webSettings.setJavaScriptEnabled(true); webSettings.setJavaScriptEnabled(false);
} }
if (!webViewAdded && root != null) { if (!webViewAdded && root != null) {