cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Bouquillon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9580) Add unique identifier to each window
Date Mon, 31 Aug 2015 21:36:45 GMT

    [ 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


Mime
View raw message