I figured many things out, the only problem left is, I want to remove the selected element in Android Studio Webview using Javascript.
Can Anyone help me out with it, i am using this but it is not helping out.
@Override
public void onLoadResource(WebView view, String url) {
super.onLoadResource(view, url);
myWebView.loadUrl("javascript:(function() { " +
"var head = document.getElementsByTagName('header')[0];"
+ "head.parentNode.removeChild(head);" +
"})()");
}