<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <script>
        if (navigator.userAgent.match(/Chrome/)) {
            // Jelly Bean with Chrome browser
            setTimeout(function() {
                if (!document.webkitHidden)
                    window.location = "{% raw url_fallback %}";
            }, 1000);
            // Redirect primary URL.
            window.location = "{% raw url %}";
        }
        else {
            // Older Android browser
            var iframe = document.createElement("iframe");
            iframe.style.border = "none";
            iframe.style.width = "1px";
            iframe.style.height = "1px";
            var t = setTimeout(function() {
                // Redirect to the Google Play Store.
                window.location = "{% raw url_fallback %}";
            }, 1000);
            iframe.onload = function () { clearTimeout(t) };
            iframe.src = "{% raw url %}";
            document.body.appendChild(iframe);
	        }
    </script>
</head>
<body>
</body>
</html>