InAppBrowser insertCSS/executeScript with file option code example is confusing

2014-11-03 Thread julio cesar sanchez
Looking into the inAppBrowser code, it seems to me that the insertCSS and executeScript are for injecting an external CSS or JS, but looking at the code example, it seems (to me), that an internal file could be loaded insertCSS example code: var ref = window.open('http://apache.org', '_blank',

Re: InAppBrowser insertCSS/executeScript with file option code example is confusing

2014-11-03 Thread Michal Mocny
Taking a quick look at the InAppBrowser.java Android implementation, seems we just inject a script tag with its src set to exactly what you provided as the url. Since the src is relative to the IAB page, I would imagine the examples as written are misleading. I'm not sure if its possible to