Disable Javascript (#1171)

This commit is contained in:
Javi Rueda 2021-03-15 20:08:18 +01:00 committed by GitHub
parent 9ac216504d
commit dabe9fe691
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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