1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-17 06:55:03 -05:00

Disable webview cache and javascript. (Mail + Javascript == scary)

This commit is contained in:
Jesse Vincent 2010-12-24 22:48:17 +00:00
parent df96d0fbe0
commit d64d9c460a

View File

@ -916,7 +916,9 @@ public class MessageView extends K9Activity implements OnClickListener
final WebSettings webSettings = mMessageContentView.getSettings();
webSettings.setCacheMode(WebSettings.LOAD_NO_CACHE);
webSettings.setSupportZoom(true);
webSettings.setJavaScriptEnabled(false);
webSettings.setLoadsImagesAutomatically(true);
webSettings.setRenderPriority(WebSettings.RenderPriority.HIGH);