Remove HTML element using Javascript in android
<p>I am using <code>Webview</code> to display the html page and i am successfully able to hide my html element but my problem is it hide after taking some time i want to hide when page load every time in <code>webview</code> Please help me out.</p>

<p>my code is as follows :</p>

<pre><code> @Override
         public void onPageFinished(WebView view, String url) {
         // TODO Auto-generated method stub
             wv.loadUrl("javascript:(function() { " +
                     "document.getElementsByTagName('a')[0].style.display = 'none'; " +
                     "})()");
         }
</code></pre>
