You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Bas Bosman (JIRA)" <ji...@apache.org> on 2014/01/30 16:40:14 UTC

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

     [ https://issues.apache.org/jira/browse/CB-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bas Bosman updated CB-2305:
---------------------------

    Component/s:     (was: CordovaJS)
                 Plugin InAppBrowser

> 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: Plugin InAppBrowser
>            Reporter: Andrew Grieve
>            Assignee: Lorin Beer
>            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 was sent by Atlassian JIRA
(v6.1.5#6160)