mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-28 04:02:19 -05:00
Disable webview cache and javascript. (Mail + Javascript == scary)
This commit is contained in:
parent
df96d0fbe0
commit
d64d9c460a
@ -916,7 +916,9 @@ public class MessageView extends K9Activity implements OnClickListener
|
|||||||
|
|
||||||
final WebSettings webSettings = mMessageContentView.getSettings();
|
final WebSettings webSettings = mMessageContentView.getSettings();
|
||||||
|
|
||||||
|
webSettings.setCacheMode(WebSettings.LOAD_NO_CACHE);
|
||||||
webSettings.setSupportZoom(true);
|
webSettings.setSupportZoom(true);
|
||||||
|
webSettings.setJavaScriptEnabled(false);
|
||||||
webSettings.setLoadsImagesAutomatically(true);
|
webSettings.setLoadsImagesAutomatically(true);
|
||||||
webSettings.setRenderPriority(WebSettings.RenderPriority.HIGH);
|
webSettings.setRenderPriority(WebSettings.RenderPriority.HIGH);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user