you can set an "onload" event to fire from either the main page or an iframe (or, presumably, both). it can trigger an event in the app which you can handle. webviewextras1.42 is a 2-way street between the app and the webview. in your case, it's the webview talking to the app.