Updated to match Cordova's InAppBrowser plugin.