Disable Javascript
This commit is contained in:
parent
a655d0112b
commit
9786c19ada
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue