Retrieving source code of site in InAppBrowser
问题 When opening a website in the InAppBrowser, is there a way to retrieve the source code of the website? This is needed for a PhoneGap app for iOs. I was thinking either by a javascript injection that could read and return the source, or by writing it in objective c and make a plugin - if either of these options would be possible. 回答1: I think you can do that by injecting js script after page load event is fired in InAppBrowser. var code = 'javascript:alert("xxxxxxx")'; var ref = window.open(