<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1">
<script>
window.onload=function(){
  var ios="https://apps.apple.com/mg/app/ceylinco-mediclaim/id6747118239";
  var and="https://play.google.com/store/apps/details?id=com.ceylincoMediClaim.app";
  var scheme="mediclaim://";  // MediClaim app deep link
  var store=(/Android/i.test(navigator.userAgent)?and:ios);
  var t=setTimeout(function(){location.href=store},1200);
  document.addEventListener("visibilitychange",function(){ if(document.hidden) clearTimeout(t); });
  location.href=scheme;
};
</script>
</head>
<body><p>Opening MediClaim…</p></body>
</html>
