android: webview.loadUrl("javascript:(function() { ... }") vs webview.evaluateJavascript(...)
As I understand, there are two ways to inject JS execution onto current page in Android webview. I'm wondering if there are pros/cons of one over the other except that webview.evaluateJavascript(...) provides a call back? Thanks.
Aucun commentaire:
Enregistrer un commentaire