Webview – Ukrywanie klas CSS

				
					    public void hideSomeCssClassOfWebsite(WebView webView) {
        webView.loadUrl("javascript:(function() { " +
                "document.getElementsByClassName('class-name-1')[0].style.display='none';" +
                "document.getElementsByClassName('class-name-2')[0].style.display='none'; })()");

    }
				
			

Zostaw komentarz