title: how to prevent iOS safari alert when trying to open non-installed native app?
body: <p>I've been looking for a way to open a native iOS app from the browser.
  I found a decent solution here: <a href="https://stackoverflow.com/questions/1108693/is-it-possible-to-register-a-httpdomain-based-url-scheme-for-iphone-apps-like/1109200#1109200">Is it possible to register a http+domain-based URL Scheme for iPhone apps, like YouTube and Maps?</a></p>
  
  <p>This solution works great when you have the app installed. but when a user doesn't have this app installed - safari fires an error message which says "Safari cannot open the page because the address is invalid."</p>
  
  <p>Is there a way to prevent this behaviour and instead to prompt the user to download the app?</p>