<!DOCTYPE html>
<html>
<head>
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<script>
function waitAndOpenApp() {
interval = window.setInterval(function () {
if (!navigator.userActivation.isActive) {
clearInterval(interval);
window.location.replace(
'intent://test/#Intent;scheme=externalappscheme;end');
}
}, 200);
};
</script>
</head>
<body style='height:10000px;' onclick='waitAndOpenApp();'>
Click page to open App!!
</body>
</html>