We have an app that handles a custom URL scheme (vstream://). When someone comes to a web page that has some vstream:// content, we need to redirect them to the store if they don't have our app installed. In iOS, we do this: setTimeout(function() { window.location = "itms://itunes.apple.com/us/app/kaon-v-stream/id378890806?mt=8&uo=4"; }, 25); window.location = "vstream:view?code=...stuff..."; If t