<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script>
var url = Array("https://qq.com", "https://xinchengxu.com", "https://bing.com", "https://baidu.com", "http://www.sogou.com");
</script>
<script>
document.title = '换成你的标题';
</script>
<title>
换成你的标题
</title>
<meta http-equiv="Cache-Control" content="no-siteapp">
<meta http-equiv="Cache-Control" content="no-transform">
<meta name="applicable-device" content="pc,mobile">
<meta name="robots" content="nofollow">
<meta name="viewport" content="width=device-width,initial-scale=0.8,minimum-scale=0.8,maximum-scale=0.8,user-scalable=no">
</head>
<body>
<style>
body {
margin: 0;
padding: 0;
background: #e6eaeb;
font-family: Arial, '微软雅黑', '宋体', sans-serif
}
a {
text-decoration: none;
color: #7b7b7b
}
.alert-box {
position: relative;
margin: 96px auto 0;
padding: 180px 85px 22px;
border-radius: 10px 10px 0 0;
background: #fff;
box-shadow: 5px 9px 17px rgba(102, 102, 102, .75);
width: 286px;
color: #fff;
text-align: center
}
.alert-box p {
margin: 0
}
.alert-circle {
position: absolute;
top: -50px;
left: 111px
}
.alert-sec-circle {
stroke-dashoffset: 0;
stroke-dasharray: 735;
transition: stroke-dashoffset 1s linear
}
.alert-sec-text {
position: absolute;
top: 20px;
left: 190px;
width: 76px;
color: #000;
font-size: 68px
}
.alert-sec-unit {
font-size: 34px
}
.alert-body {
margin: 35px 0;
margin-bottom: 30px
}
.alert-head {
color: #242424;
font-size: 28px
}
.alert-concent {
margin: 25px 0 14px;
color: #7b7b7b;
font-size: 18px
}
.alert-concent p {
line-height: 27px
}
.alert-btn {
display: block;
border-radius: 10px;
background-color: #ff5656;
height: 55px;
line-height: 55px;
width: 286px;
color: #fff;
font-size: 20px;
text-decoration: none;
letter-spacing: 2px
}
.alert-btn:hover {
background-color: #ff5656
}
.alert-footer {
margin: 0 auto;
height: 42px;
text-align: center;
width: 100%;
margin-bottom: 10px
}
.alert-footer-icon {
float: left
}
.alert-footer-text {
float: left;
border-left: 2px solid#eee;
padding: 3px 0 0 5px;
height: 40px;
color: #0b85cc;
font-size: 12px;
text-align: left
}
.alert-footer-text p {
color: #7a7a7a;
font-size: 22px;
line-height: 18px
}
</style>
<div id="js-alert-box" class="alert-box" style="display: block;">
<svg class="alert-circle" width="234" height="234">
<circle id="js-fst-circle" cx="117" cy="117" r="108" fill="#FFF" stroke="#ff5656" stroke-width="17">
</circle>
<circle id="js-sec-circle" class="alert-sec-circle" cx="117" cy="117" r="108" fill="transparent" stroke="#F4F1F1" stroke-width="18" transform="rotate(-90 117 117)" style="stroke-dashoffset: 0;">
</circle>
<text class="alert-sec-unit" x="100" y="172" fill="#BDBDBD">
                                </text>
</svg>
<div id="js-sec-text" class="alert-sec-text" style="left: 170px">
0%
</div>
<div class="alert-body">
<div id="js-alert-head" class="alert-head">
正在安全检测
</div>
<div class="alert-concent">
<p id="pcon" style="color:green">
信誉平台值得信赖
</p>
</div>
<a id="js-alert-btn" class="alert-btn" href="#">
点击前往(www.jishaoshi.com)
</a>
</div>
<div class="alert-footer clearfix">
</div>
</div>
<script>
var rid = "5123";
var totalTime = 1;
var str1 = "正在安全检测";
var str2 = "恭喜!已成功安全加密";
var completedTitle = "安全通过 - 请点击前往";
var pcon = "信誉平台 值得信赖";
var btnText = "点击前往(www.jishaoshi.com)";
var timesleep = "200";
var bodyWidth = document.body.offsetWidth;
var boxWidth = document.getElementById('js-alert-box').offsetWidth;
var btn = document.getElementById('js-alert-btn');
if(bodyWidth < boxWidth) {
document.getElementById('js-alert-box').style.left = -Math.round((boxWidth - bodyWidth) / 2) + 'px'
}
document.getElementById('js-alert-box').style.display = 'block';
document.getElementById('pcon').innerHTML = pcon;
document.getElementById('js-alert-head').innerHTML = str1;
btn.innerHTML = btnText;
var num = 0;
var span1 = document.getElementById('js-sec-text');
var span2 = document.getElementById('js-sec-circle');
span2.style.strokeDashoffset = '735';
var span3 = document.getElementById('js-fst-circle');
var beginTime = new Date().getTime();
var isMobile = false;
var sites = url;
function GetWebUrl() {
var s = sites[Math.floor(Math.random() * sites.length)];
if((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) {
s = s.replace('www.', 'm.');
isMobile = true
}
return s
}
btn.setAttribute('href', GetWebUrl());
btn.onclick = function() {
if(window.webUrl) {
window.location = GetWebUrl();
return false
}
return new Date().getTime() - beginTime > 30
};
var levelTime = totalTime;
var timeText = 0;
var n = document.getElementById('js-sec-circle');
var textTimer = setInterval(showTime2, 10 * totalTime);
function showTime() {
var round = Math.round(levelTime / totalTime * 735);
if(round == 735) {
var round1 = Math.round(1 / totalTime * 735 / 2);
if(round1 > 735 / 10) {
round1 = 735 / 10
}
round -= round1
}
n.style.strokeDashoffset = 735 - round
}
function showTime2() {
var round = Math.round((totalTime - levelTime) * 100 / totalTime);
if(timeText != round) {
timeText = timeText + 1;
document.getElementById('js-sec-text').innerHTML = timeText + '%'
}
if(timeText == 100) {
clearTimeout(textTimer);
document.getElementById('js-sec-text').innerHTML = 'GO!';
document.getElementById('js-sec-text').style.left = '170px'
}
}
showTime();
var timer = setInterval(function() {
if(0 == levelTime) {
clearTimeout(timer);
document.getElementById('js-alert-head').innerHTML = str2;
document.getElementById('js-fst-circle').setAttribute('stroke', '#1AAD19');
btn.style.backgroundColor = '#1AAD19'
} else {
levelTime -= 1;
showTime()
}
},
970)
var sites = url;
var startTime = new Date().getTime();
var endTime = new Date().getTime();
var minTime = Infinity;
var minSite = '';
var finishedCount = 0;
for(var i = 0; i < sites.length; i++) {
startTime = new Date().getTime();
var img = new Image();
img.onload = img.onerror = function() {
endTime = new Date().getTime();
var delay = endTime - startTime;
if(delay < minTime) {
minTime = delay;
minSite = this.src
}
finishedCount++;
if(finishedCount === sites.length) {
setTimeout(showLowestLink, 5000)
}
};
img.src = sites[i]
}
function showLoading() {
var loading = document.getElementById("loading");
loading.innerHTML = "正在检测延迟,请稍候..."
}
function showLowestLink() {
if(minSite !== '') {
window.location.href = minSite
} else {
var loading = document.getElementById("loading");
loading.innerHTML = "检测失败,请重试。"
}
}
setTimeout(showLoading, 2000);
</script>
</body>
</html>