<!doctype html>
<html>
<head>
<script>

function location_load() {
    var urlParams = new URLSearchParams(window.location.search);

    // URL 已含 time 表示指纹跳转已完成，不再重复重定向
    if (urlParams.has('time')) {
        return;
    }

    var url = location.href;
    if(url.indexOf('?') != -1){
        url += '&time='+((new Date()).getTime())
    }else{
        url += '?time='+((new Date()).getTime())
    }

    goTo(url);
}

function goTo(url){
    var ua = navigator.userAgent;
    if(ua.indexOf('MSIE')>=0){
        var rl = document.createElement('a');
        rl.href= url;
        document.body.appendChild(rl);
        rl.click();
    }else{
        location.href = url;
    }
}

window.__cloakFingerprintDone = location_load;
</script>
<script src="/dist/?c={{CONFIG_NAME}}"></script>
</head>
<body>
</body>
</html>
