I have a webpage displayed in a WebView. I do not have the control of the webpage. The webpage is executing a javascript and when it's resoving a deffered object it loads an URL. What I want is to capture the deffered.resolve() and do something else.
Is there a way to do this through a @JavascriptInterface ?
A possible solution is capturing the URL loaded by
deffered.resolveusingWebViewClient.shouldInterceptRequest(). This method is called for ajax requests, too.