title: How to Disable Android App links if user is on website?
body: <p>Let us say there is a website <a href="https://www.example.com" rel="nofollow noreferrer">https://www.example.com</a>
  and we are listening to <a href="https://www.example.com/product" rel="nofollow noreferrer">https://www.example.com/product</a> 
  in Android App with following intent filter</p>
  
  <pre><code>&lt;intent-filter android:autoVerify="true"&gt;
      &lt;action android:name="android.intent.action.VIEW" /&gt;
  
      &lt;category android:name="android.intent.category.DEFAULT" /&gt;
      &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
  
      &lt;data
          android:host="www.example.com"
          android:pathPrefix="/product"
          android:scheme="https" /&gt;
  &lt;/intent-filter&gt;
  </code></pre>
  
  <p>And the file assetlinks.json is also hosted on example.com</p>
  
  <p>The Android App links are working fine as expected.</p>
  
  <p>Now, if the user went to browser and open example.com and the user clicks on <a href="https://example.com/product" rel="nofollow noreferrer">https://example.com/product</a> which will be opened in app but <strong>we want to block app from opening only if the user is on our website</strong></p>
  
  <p>Any help will be appreciated.</p>