There\'s a webpage I pull up with webview, however i\'d like to hide the 1 text link at the top. Is there a way to do this? The link is in the body, so I can\'t hide the bod
I got it! By injecting javascript I had to use
webview.loadUrl("javascript:(function() { " + "document.getElementsByTagName('a')[0].style.display = 'none'; " + "})()");
That removes the link ( code). Replacing ('a') with ('img') would remove the images.
(thanks lexanderA - Injecting JavaScript into a WebView )