[
https://issues.apache.org/jira/browse/CB-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13600376#comment-13600376
]
Ian Clelland commented on CB-2305:
----------------------------------
insertCSS looks to be relatively straigtforward to implement; executeScript
will probably be more difficult, as it requires an isolated JS execution
environment. I'm going to investigate what it takes to do this in iOS and
Android.
> Add InAppBrowser.executeScript() / InAppBrowser.insertCSS API
> -------------------------------------------------------------
>
> Key: CB-2305
> URL: https://issues.apache.org/jira/browse/CB-2305
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaJS
> Reporter: Andrew Grieve
> Priority: Minor
>
> Maybe base it off of:
> http://developer.chrome.com/extensions/tabs.html#method-executeScript
> http://developer.chrome.com/extensions/tabs.html#method-insertCSS
> (we can probably implement insertCSS all in JS by using executeScript)
> var wnd = window.open('local.html', '_blank', 'location=yes');
> wnd.executeScript({runAt:'document_start', file:'extra.js'}, function(result)
> {
> alert(result); // result = (result of last statement).
> });
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira