I want to open an external page in the InAppBrowser or childbrowser, where I don\'t show any toolbar and where I can have a button in my externalpage that closes th
Here's a simpler solution that may help someone.
// open win and turn off location
var ref = window.open('http://myloginapp.com', '_blank', 'location=no');
// attach listener to loadstart
ref.addEventListener('loadstart', function(event) {
var urlSuccessPage = "http://myloginapp/success/";
if (event.url == urlSuccessPage) {
ref.close();
}
});