[
https://issues.apache.org/jira/browse/CB-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Bowser resolved CB-2305.
----------------------------
Resolution: Implemented
This has been done, although I hate this API and wish it never happened.
> 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: cordova-plugin-inappbrowser
> 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 was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]