I have a Phonegap (cordova) application where I want to load some external webpages within the phonegap WebView and I have other external webpages that I want to load in safari when the user activates them.
Typically most people have the problem where they want to open an external link in the WebView. Setting OpenAllWhitelistURLsInWebView to YES (in Cordova.plist/Phongap.plist) solves that problem.
But I don't want to open all links the the WebView, just some.
I was hoping I could just call window.open('http://someexternalsite')
to open in Safari and window.parent.location.href = 'http://mysite'
to open it in the WebView.
Any idea how to do this?