I want to do an AJAX call using jQuery to check if the custom schema of my app is available, (in other words, if it can be open). The point of this is that I don't want to use a time-out like the other posts suggest, I don't want to display any alert if the browser doesn't find my url schema. So basically when I press on the button/link, I want to make this AJAX call, and on failure, I want to redirect the user to iTunes. I will try this myself, but I wanted to see if any of you thought about tried this already.
Thank you.