title: Removing images from Android Webview?
body: <p>I have an Android Webview where I load HTML into using loadDataWithBaseURL, some of my images are displayed a "?" as if the image is missing. I had trouble fixing that so I'm now attempting to remove images altogether. I tried to use:</p>
  
  <pre><code>webview.loadUrl("javascript:(function() { " + "document.getElementsByTagName('img')[0].style.display = 'none'; " + "})()");
  </code></pre>
  
  <p>But it didn't work, I'm struggling to think of another solution. The HTML code producing the images is formatted like so:</p>
  
  <pre><code>&lt;img name="StartDate" src="images/calendar.gif" onclick="displayDatePicker('StartDate',false,'dmy','-')" alt="Press for a date picker" /&gt;
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>