title: How apple know you have the Apple Store app installed from the website?
body: <p>When you visit the <code>apple.com</code> and they will have a prompt said that you have the "Apple Store app" installed and suggest you to open, how it is possible just from the broswer?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>So, assume my app with bundle id <code>com.example.myapp</code> and registered the url scheme <code>myapp://</code>., what would be the <strong>JavaScript</strong> I can used in my site to check if the app is installed?</p>