To open an external browser window when in web app (Standalone)
You need to use _system in the window.open function.
Also on iPhone Safari has a bug that does not repaint the parent window correctly when closing the newly opened window.
var doc = document.documentElement;
var top = (window.pageYOffset || doc.scrollTop) - (doc.clientTop || 0);
$('html, body').animate({scrollTop: 0});
window.open(encodeURI(url),"_system",windowOpenSettings);
$('html, body').animate({scrollTop: top});
return;
All the scrolling is just to repaint IOS window and to place the user back in the same position as before the click.