mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Disable JavaScript when printing
This commit is contained in:
@@ -370,6 +370,7 @@ public class FragmentDialogPrint extends FragmentDialogBase {
|
||||
settings.setUserAgentString(WebViewEx.getUserAgent(context, printWebView));
|
||||
settings.setLoadsImagesAutomatically(print_html_images);
|
||||
settings.setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW);
|
||||
settings.setJavaScriptEnabled(false);
|
||||
settings.setAllowFileAccess(true);
|
||||
|
||||
printWebView.setWebViewClient(new WebViewClient() {
|
||||
|
||||
Reference in New Issue
Block a user