title: 'Navigation is blocked' when opening Intent
body: <p>I am working on the payment process for an app. When the user has paid in the browser he has to get redirected back to the app. </p>
  
  <p>My solution is to open an Intent from the browser. To achieve this I made a button and clicked it using javascript:</p>
  
  <pre><code>&lt;body onload="document.getElementById('backToApp').click();"&gt;
      &lt;a style="margin: 50px auto;" id="backToApp" class="btn btn-success" href="intent://app/#Intent;scheme={{ scheme }};package={{ package }};S.data={{ data }};end"&gt;Return to app&lt;/a&gt; 
  &lt;/body&gt;
  </code></pre>
  
  <p>The only problem is that when I open the site in my mobile browser the Chrome debugger says: <code>Navigation is blocked</code>. Is there a way to fix this?</p>