Link to external page when application is started

I’ve set up a new project in VS2015. I’ve also added the InAppBrowser plugin which works very well.

When I add this to my app.js file

document.addEventListener(“deviceready”, onDeviceReady, false);

function onDeviceReady() {
// Now safe to use the Codova API‘’, ‘_blank’, ‘location=no’);

the external site is loaded. But when I use the “back” button on my Android phone I get back to the index.html file of my app itself. thats very fine in my other project but not very cool at this one because I don’t need them here. I just want to load the external page and If it is closed the whole app should be closed too.

What I’m doing wrong?

thank you