You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Julien Bouquillon (JIRA)" <ji...@apache.org> on 2015/08/31 23:36:45 UTC

[jira] [Commented] (CB-9580) Add unique identifier to each window

    [ 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org