Disable Javascript

This commit is contained in:
Javi Rueda 2021-03-15 15:44:18 +01:00
parent a655d0112b
commit 9786c19ada

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) {