In Phonegap 3.x/Cordova 3.x: Is there any hook so we can check which link the user clicked on our webpage.
Background: We added Google Maps to our cordova app. The Google Map comes with a "(c) Google Inc." link which we are not allowed to remove oder modify. So when the user clicks on the "(c) Google Inc." link, the Google Maps disclaimer appears and the user has no way of getting back to our app in iOS. (On Android and Windows Phone there are hardware-back buttons, but not on iOS).
If we could hook into the URL opening event, we could intercept the call and open the link in an in-app-browser or in the system browser or something like that.
Any solution is welcome - whether as JavaScript, Phonegap Setting or Objective-C code. (Also C#/Windows Phone or Java/Android, but as mentioned, the problem on these two platforms is neglectable due the hardware back button).
PS: Maybe we can open EVERY link in an in app browser by a phonegap setting execpt links with a CSS class "internal" or something like that. In that case, we just would mark our links with the sayed class!?
Thank you!