You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Mark Davis (JIRA)" <ji...@apache.org> on 2013/03/08 17:22:15 UTC

[jira] [Commented] (CB-2305) Add InAppBrowser.executeScript() / InAppBrowser.insertCSS API

    [ https://issues.apache.org/jira/browse/CB-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13597253#comment-13597253 ] 

Mark Davis commented on CB-2305:
--------------------------------

This will be a great help to those of us interested in integrating/consuming already developed web app content into our native apps...  I am desperately seeking the solution.

Thx for all the hard work!
                
> 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