Parts of an Android webview url have already fired by the time onLoadResource is activated. The delay is minimal but can be clearly seen...
public void onLoadResource(WebView view, String url) {
injectScriptFile(webview, "hello.js");
super.onLoadResource(view, url);
}
Is there a way to inject javascript into the webview before anything in the body tag renders?