I need a javascript version to open the app if the url scheme exists, so far I know that you can open the app via javascript but how do you check if it exists or not first so I can open the iTunes link.
I've searched but only found half of the solution