title: Override "Safari cannot open the page because the address is invalid"
body: <p>Does anyone know if its possible to override this dialog on ios safari when trying to open a native app from the safari browser using a URI <code>appname:///</code> and the app is not installed on a device?</p>
  
  <p>I tried overriding the <code>window.alert</code> and it works as expected for browser alerts, however it does not work when this pops up. Or does this maybe fire some event that I can listen for using <code>window.addEventListener()</code>?</p>
  
  <p><a href="https://i.stack.imgur.com/oboOl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oboOl.png" alt="enter image description here"></a></p>