Below is the code I am currently implementing:
view.loadUrl("javascript:var con = document.getElementsByTagName('img'); for (var i = 0; i < con.length; ++i)con[i].style.maxWidth='100%'; ");
When targeting API 18, this code functions properly. However, when targeting the latest Android version, API 19, it seems to remove the entire website content and replaces it with the text "100%". What could be causing this behavior specifically on Kit Kat?