Hello I'm using WebView
to display website have some buttons and I need to remove them in the WebView
I used this code but nothing happened for example my class name is (vtLYrb imso-loa DAPhHc) I need to remove it here is my code
// ...
public void onPageFinished(WebView view, String url)
{
mWebView.loadUrl("javascript:(function() { " +
"document.getElementByClassName('vtLYrb imso-loa DAPhHc')[0].style.display='none'; " +
"})()");
}
});
mWebView.loadUrl(youUrl);