From 9786c19adae3073718496247c57b0b131c03aa37 Mon Sep 17 00:00:00 2001 From: Javi Rueda Date: Mon, 15 Mar 2021 15:44:18 +0100 Subject: [PATCH] Disable Javascript --- .../java/io/lbry/browser/ui/findcontent/FileViewFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/lbry/browser/ui/findcontent/FileViewFragment.java b/app/src/main/java/io/lbry/browser/ui/findcontent/FileViewFragment.java index 3382854c..ecadbc56 100644 --- a/app/src/main/java/io/lbry/browser/ui/findcontent/FileViewFragment.java +++ b/app/src/main/java/io/lbry/browser/ui/findcontent/FileViewFragment.java @@ -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) { -- 2.45.2