You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/01/29 16:15:13 UTC
[jira] [Created] (CB-2305) Add InAppBrowser.executeScript() /
InAppBrowser.insertCSS API
Andrew Grieve created CB-2305:
---------------------------------
Summary: 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