mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Explicitly disable JavaScript
This commit is contained in:
@@ -86,6 +86,7 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC
|
||||
settings.setLayoutAlgorithm(WebSettings.LayoutAlgorithm.TEXT_AUTOSIZING);
|
||||
|
||||
settings.setAllowFileAccess(false);
|
||||
settings.setJavaScriptEnabled(false);
|
||||
settings.setAllowContentAccess(true); // default
|
||||
settings.setCacheMode(WebSettings.LOAD_CACHE_ELSE_NETWORK);
|
||||
settings.setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW);
|
||||
|
||||
Reference in New Issue
Block a user