You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2017/10/05 18:08:00 UTC
[jira] [Resolved] (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 ]
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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org