[
https://issues.apache.org/jira/browse/CB-9580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14724087#comment-14724087
]
Julien Bouquillon commented on CB-9580:
---------------------------------------
at the moment, the plugin return an instance that you can use to execute script
or more : https://www.npmjs.com/package/cordova-plugin-inappbrowser
{code}
var ref = cordova.InAppBrowser.open('http://apache.org', '_blank',
'location=yes');
ref.addEventListener('loadstop', function() {
ref.executeScript({file: "myscript.js"});
});
{code}
> Add unique identifier to each window
> ------------------------------------
>
> Key: CB-9580
> URL: https://issues.apache.org/jira/browse/CB-9580
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Android, Browser
> Reporter: Alexandre Azevedo
>
> The Cordova In-app Browser Plugin needs support a unique identifier to each
> window opened with window.open(), like the example below:
> window.open('http://apache.org', 'foo'); // Open Apache's website
> window.open('http://cordova.apache.org', 'foo'); // Reuse the current opened
> window
> The plugin haven't handlers to change the location of current url.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]