- ID da verificação
- 1f210f3c-868e-475c-ad91-4e8ba024b0b5Concluído
- URL enviado:
- https://app.kerusd.com/web.html
- Relatório concluído:
Links · 0 encontrado(s)
Os links de saída identificados na página
Variáveis JavaScript · 79 encontrada(s)
Variáveis JavaScript globais carregadas no objeto janela de uma página são variáveis declaradas fora das funções e acessíveis de qualquer lugar no código dentro do escopo atual
Nome | Tipo |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
$ | function |
jQuery | function |
Swiper | function |
swiperAnimateCache | function |
swiperAnimate | function |
clearSwiperAnimate | function |
jQuery1710928599671678888 | object |
Mensagens de registro do console · 0 encontrada(s)
Mensagens registradas no console web
HTML
O corpo HTML bruto da página
<!DOCTYPE html><html lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
<title>策聯優選</title>
<meta property="og:type" content="website">
<meta property="og:title" content="策聯優選">
<meta property="og:description">
<meta property="og:image" content="/uploads/203.png">
<meta property="user" content="qweqwe">
<meta property="x-tpplatform" content="mdm">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<link rel="stylesheet" href="css/vipsignPage.css">
<link rel="stylesheet" href="css/swiper.css">
<link rel="stylesheet" href="css/animate.css">
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/swiper-3.4.2.min.js"></script>
<script type="text/javascript" src="js/swiper.animate.js"></script>
<script type="text/javascript" src="js/jquery.flexslider-min.js"></script>
<script type="text/javascript" src="js/installSign.js"></script>
<script type="text/javascript" src="js/jquery-qrcode.min.js"></script>
<script type="text/javascript" src="js/clipboard.min.js"></script>
<!-- <script src="/layui/layer.js" type="text/javascript"></script> -->
<!-- <script async src="https://www.googletagmanager.com/gtag/js?id=G-RMD4NVNGGN"></script> -->
<script async="" src="js/js.js?id=G-RMD4NVNGGN"></script>
<script>
/* window.dataLayer = window.dataLayer || [];
function gtag(){
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-RMD4NVNGGN'); */
</script>
<style>
.plxing p {
display: inline-block;
float: right;
}
.plxing p img {
width: 12px;
height: 12px;
float: left;
margin-top: 5px;
margin-left: 4px;
}
.animate {
background-color: #3478f6;
}
#ios-installing {
width: 150px;
padding: 0;
}
#iosdownbtn {
width: 150px;
height: 24px;
line-height: 24px;
border-radius: 30px 0 0 30px;
}
#xzzz {
position: absolute;
top: 0px;
left: 0;
right: 0;
z-index: 9999;
width: 150px;
height: 24px;
line-height: 24px;
font-size: 12px;
font-weight: bold;
}
#tips {
margin-top: 35px;
font-size: 12px;
color: #ababae;
margin-left: 5px;
}
.mask, .mask2, .mask3, .mask4 {
width: 100%;
height: 100%;
position: fixed;
top: 0px;
left: 0px;
background-color: rgba(0, 0, 0, 0.5);
z-index: 9999;
display: none;
}
.mask5 {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
position: fixed;
background: rgba(2, 2, 2, 0.6);
z-index: 1000000;
top: 0;
}
.mdmCode {
width: 90%;
height: 29.0rem;
background-color: white;
border-radius: 0.3rem;
display: flex;
flex-flow: column;
align-items: center;
}
.mdmCode h3 {
margin-top: 1rem;
font-weight: bold;
font-size: 2.0rem;
}
.mdmCode p {
margin-top: 2rem;
font-size: 1.5rem;
color: #666666;
padding: 0 1.5rem;
}
#mdm-tip p code {
color: red;
font-weight: 600;
}
.mdmMaskCodeOk {
width: 70%;
height: 3.0rem;
border-radius: 0.6rem;
display: flex;
align-items: center;
justify-content: center;
color: white;
background-color: #0078fc;
margin-top: 2.5rem;
font-size: 2.4rem;
}
.show-qr {
position: fixed;
top: 0;
z-index: 9999;
width: 100%;
height: 100%;
background-color: #fff;
display: none;
}
.container {
display: flex;
flex-direction: column;
max-width: 600px;
margin: 0 auto;
padding: 10px 20px;
}
.show-qr-content {
align-items: center;
justify-content: center;
padding-top: 50px;
}
.rate-line-between {
width: 1px;
background-color: rgb(231 231 231);
height: 48px;
margin: 8px 8px 0 8px;
}
</style>
<script src="js/load.min.js?t=201903281201"></script>
</head>
<body>
<!-- <div id="w" style="width: 100%; position: fixed; top: 0px; background-size: 1500px;">
<img style="width: 100%;" src="" alt="" id="download_bg">
</div> -->
<div style="max-width: 750px;background: #FFFFFF;width: 100%;overflow: hidden;">
<div>
<section class="l-content-width section section-hero">
<div style="display: inline-block;width: 31vw;vertical-align: top;">
<div id="appdetails-icon" class="appdetails-icon small-5" style="width: 100%;">
<div class="ios-app-icon">
<img class="ios-app-icon-img" src="/uploads/203.png" style="background-color: #fefefe;" alt="">
</div>
</div>
</div>
<div style="display: inline-block;width: 52vw;vertical-align: top;margin-left: 8px;">
<div>
<div class="ios-app-brief">
<header class="ios-app-brief-header">
<h1 class="ios-app-title" style="font-size: 20px;height: 1.2223em;width: 50vw;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-family:PingFangSC-Medium;margin-bottom: 8px;">
<span>策聯優選</span>
<span class="ios-app-title-cls" style="display: none;">4+</span>
</h1>
<h2 class="ios-app-vendor"><a href="javascript:;" style="color:rgba(132,132,137,1);"> </a></h2>
</header>
</div>
</div>
<div>
<div style="position: absolute;">
<ul class="ios-app-recom" style="width:100%;">
<div id="installText" style="display:none;margin-top:-20px;"></div>
<li id="install-btn-container" class="install-btn-container0" style="display: inline-block;">
<div id="ios-installing" style="overflow: hidden; background: rgb(204, 204, 204); border-color: unset; box-shadow: unset;">
<div class="download-loading-text animate" id="iosdownbtn">
</div>
<span onclick="install();" id="xzzz">點擊下載</span>
<div class="download-loading-line" style="width: 0%;"></div>
</div>
</li>
</ul>
</div>
</div>
<p id="tips">若遇見閃退或者無法下載或版本未能覆蓋,請在解除安裝原App後再次嘗試!如下載時提示無法安裝此APP,請稍等幾分鐘,重新刷新此頁面,重新嘗試下載</p>
<!-- <p id="downloadAgain" style="display: none;color: #ff0000; font-size: 10px;" onclick="downloadEnterprise()" th:text="#{messages.app.downloadAgain}">无法下载?点我重试</p>-->
</div>
</section>
<section class="l-content-width" style="border-top: 1px solid #eee;border-bottom: 1px solid #eee; padding-top: 0px;padding-bottom: 16px; display: flex; align-items: center;font-size:12px;color: #ababae;text-align: center;">
<div class="ios-app-rating" style="width:30%">
<h5 class="ios-caption-subtitle" style="color: #ababae;margin-top: 14px;font-size: 12px;">
<span>298</span>
<span>評分</span>
</h5>
<p style="font-size: 16px; text-align: center; font-weight: bold; color: #ababae; margin: 4px 0;">4.9</p>
<div class="ios-app-rating-caption-big plxing">
<p>
<img src="img/xxing.png">
<img src="img/xxing.png">
<img src="img/xxing.png">
<img src="img/xxing.png">
<img src="img/xing2.png">
</p>
</div>
</div>
<div class="rate-line-between"></div>
<div class="ios-app-rating" style="width:24%;text-align: center;margin-top: 14px;">
<div>年齡</div>
<div class="ios-app-rating-caption-big" style="font-size: 14px;color: #ababae;">
<span>4+</span>
</div>
<h5 class="ios-caption-subtitle" style="color: #ababae;font-size: 12px;"></h5>
</div>
<div class="rate-line-between"></div>
<div class="ios-app-rating" style="width:24%; text-align: center;">
<div>快應用</div>
<div class="ios-app-rating-caption-big" style="color: #ababae; font-weight: bold; margin: 4px 0;font-size: 14px;">
#1+
</div>
<h5 class="ios-caption-subtitle" style="color: #ababae;font-size:12px;"></h5>
</div>
<div class="rate-line-between"></div>
<div class="ios-app-rating" style="width:24%; text-align: center; margin-top: 14px;">
<div style="font-size: 12px;color: #ababae;">大小</div>
<h5 style="color: #ababae; font-weight: bold; margin: 4px 0;">10.75M</h5>
<h5 style="color: #ababae; font-size: 12px"> </h5>
</div>
</section>
<section class="l-content-width section w-100">
<div class="banner">
<div class="swiper-container swiper-container-initialized swiper-container-horizontal">
<div class="swiper-wrapper" style="">
</div>
</div>
</div>
</section>
<section class="l-content-width section section-bordered">
<div class="ellipsis">
<div class="ellipsis-container">
<div class="ellipsis-content f-game-content" style="color: #2e2e2e;font-size: 14.3px;">
<div>
<p><span>官方推薦App</span>
</p>
</div>
</div>
<div id="expand" class="ellipsis-ghost expand">
</div>
</div>
</div>
</section>
<section class="l-content-width section section-bordered" style="padding-bottom:0;padding-top: 14px;">
<h2 class="section-headline" style="font-size:22px;color:#000;margin-bottom: 10px;">評分及評論</h2>
<div class="ios-app-cust-ratings" style="margin-bottom:0;">
<div class="ios-app-cust-ratings_stats">
<h3 class="ios-app-ratings_avg">
<div>
<span class="ios-app-ratings-avg-disp">4.9</span>
</div>
<span>滿分 5 分</span>
</h3>
</div>
<div class="ios-app-ratings-bars">
<figure>
<div class="ios-app-ratings-bar-row">
<span class="ios-app-rating-stargraph-stars ios-app-rating-stargraph-stars-5"></span>
<div class="ios-app-rating-bargraph-bar">
<div class="ios-app-rating-bargraph-bar-foreground" style="width: 90%;"></div>
</div>
</div>
<div class="ios-app-ratings-bar-row">
<span class="ios-app-rating-stargraph-stars ios-app-rating-stargraph-stars-4"></span>
<div class="ios-app-rating-bargraph-bar">
<div class="ios-app-rating-bargraph-bar-foreground" style="width: 5%;"></div>
</div>
</div>
<div class="ios-app-ratings-bar-row">
<span class="ios-app-rating-stargraph-stars ios-app-rating-stargraph-stars-3"></span>
<div class="ios-app-rating-bargraph-bar">
<div class="ios-app-rating-bargraph-bar-foreground" style="width: 3%;"></div>
</div>
</div>
<div class="ios-app-ratings-bar-row">
<span class="ios-app-rating-stargraph-stars ios-app-rating-stargraph-stars-2"></span>
<div class="ios-app-rating-bargraph-bar">
<div class="ios-app-rating-bargraph-bar-foreground" style="width: 2%;"></div>
</div>
</div>
<div class="ios-app-ratings-bar-row">
<span class="ios-app-rating-stargraph-stars "></span>
<div class="ios-app-rating-bargraph-bar">
<div class="ios-app-rating-bargraph-bar-foreground" style="width: 1%;"></div>
</div>
</div>
</figure>
<h5 class="ios-app-rating-count">
<span>298</span>
<span>評分</span></h5>
</div>
</div>
<div class="ios-app-comments-list">
</div>
</section>
<section class="l-content-width section w-100 w-102">
<div class="banner" id="screenshotTableContainer">
<div class="swiper-container swiper-container-initialized swiper-container-horizontal">
<div class="swiper-wrapper" style="">
<div class="swiper-slide blue-slide swiper-slide-active" style="width: 730px; margin-right: 20px;">
<div class="col-md-2 col-sm-3 delete" data-key="b214ff9d83d34efb87d20764d2357a0a" data-index="0">
<div class="pl" style="background: #f0f0f8;">
<h3 style="font-size:15px;color: #000;">
<span>Android</span>
</h3>
<p class="plx" style="padding:0px 0 2px 0;">
<img src="img/xing.png" style="width: 12px;height: 12px;">
<img src="img/xing.png" style="width: 12px;height: 12px;">
<img src="img/xing.png" style="width: 12px;height: 12px;">
<img src="img/xing.png" style="width: 12px;height: 12px;">
<img src="img/xing.png" style="width: 12px;height: 12px;">
</p>
<p class="p-text"></p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="l-content-width section section-bordered">
<h2 class="section-headline">修復部分bug</h2>
<div class="ios-app-whatsnew-content ios-app-whatsnew-latest">
<p class="banb">版本 1.9</p>
</div>
<div class="ios-app-whatsnew-content">
<div class="ellipsis">
<div class="ellipsis-container">
<div class="ellipsis-content f-game-content2" style="height: 43px;">
<p>修復部分bug</p>
</div>
<div id="expand2" class="ellipsis-ghost expand">
</div>
</div>
</div>
</div>
</section>
<section class="l-content-width section section-bordered">
<h2 class="section-headline">信息</h2>
<dl class="ios-app-infor-list">
<div class="ios-app-infor-list-row row-bottom-border">
<dt class="ios-app-infor-list-row-term">大小</dt>
<dd class="ios-app-infor-list-row-val">10.75M</dd>
</div>
<div class="ios-app-infor-list-row row-bottom-border">
<dt class="ios-app-infor-list-row-term">其它</dt>
<dd class="ios-app-infor-list-row-val">其它</dd>
</div>
<div class="ios-app-infor-list-row row-bottom-border">
<dt class="ios-app-infor-list-row-term">兼容性</dt>
<dd class="ios-app-infor-list-row-val">
<div class="we-clamp"><span>需要 iOS 9.0 或更高版本</span>
</div>
</dd>
</div>
<div class="ios-app-infor-list-row row-bottom-border">
<dt class="ios-app-infor-list-row-term">語言</dt>
<dd class="ios-app-infor-list-row-val">
<div class="we-clamp"><span>繁體中文</span></div>
</dd>
</div>
<div class="ios-app-infor-list-row row-bottom-border">
<dt class="ios-app-infor-list-row-term">年齡分級</dt>
<dd class="ios-app-infor-list-row-val">限18歲以上</dd>
</div>
<div class="ios-app-infor-list-row row-bottom-border">
<dt class="ios-app-infor-list-row-term">價格</dt>
<dd class="ios-app-infor-list-row-val">免費</dd>
</div>
<div class="ios-app-infor-list-row">
<dt class="ios-app-infor-list-row-term"><a href="javascript:;">隱私政策</a>
</dt>
</div>
</dl>
</section>
</div>
<div class="disclaimer">
<span>免責聲明</span>:<br> <span>本網站僅為開發者提供App的下載和安裝託管,App內的內容和運營相關事項由App開發者負責,與本網站無關</span>
</div>
</div>
<div class="mask">
<div class="elasticbox">
<i class="downClose"></i>
<div class="flexslider-box">
<div class="flexslider" style="">
<ul class="slides">
<li class="flex-active-slide" style="width: 100%; float: left; margin-right: -100%; position: relative; opacity: 1; display: block; z-index: 2;">
<a href="#"><img src="img/install-profile-tips_0.png" draggable="false"></a>
<div class="swipe-wrap-con">
<p class="font18">hướng dẫn cài đặt</p>
<p class="font15">Bước đầu tiên là cho phép mở tệp mô tả cấu hình</p>
</div>
</li>
<li style="width: 100%; float: left; margin-right: -100%; position: relative; opacity: 0; display: block; z-index: 1;" class="">
<a href="#"><img src="img/install-profile-tips_1.png" draggable="false"></a>
<div class="swipe-wrap-con">
<p class="font18">hướng dẫn cài đặt</p>
<p class="font15">Bước 2 Nhấp vào nút Cài đặt ở góc trên bên phải</p>
</div>
</li>
<li style="width: 100%; float: left; margin-right: -100%; position: relative; opacity: 0; display: block; z-index: 1;" class="">
<a href="#"><img src="img/install-profile-tips_2.png" draggable="false"></a>
<div class="swipe-wrap-con">
<p class="font18">hướng dẫn cài đặt</p>
<p class="font15">Bước 3 Nhập mật khẩu mở khóa bật nguồn</p>
</div>
</li>
<li style="width: 100%; float: left; margin-right: -100%; position: relative; opacity: 0; display: block; z-index: 1;" class="">
<a href="#"><img src="img/install-profile-tips_3.png" draggable="false"></a>
<div class="swipe-wrap-con">
<p class="font18">hướng dẫn cài đặt</p>
<p class="font15">Bước 4 Nhấp vào nút Cài đặt bên dưới</p>
</div>
</li>
</ul>
<ol class="flex-control-nav flex-control-paging">
<li><a class="flex-active">1</a></li>
<li><a class="">2</a></li>
<li><a class="">3</a></li>
<li><a class="">4</a></li>
</ol>
<ul class="flex-direction-nav">
<li><a class="flex-prev" href="#">Previous</a></li>
<li><a class="flex-next" href="#">Next</a></li>
</ul>
<ol class="flex-control-nav flex-control-paging">
<li><a>1</a></li><li><a>2</a></li><li><a>3</a></li><li><a>4</a></li>
</ol>
<ul class="flex-direction-nav">
<li><a class="flex-prev" href="#">Previous</a></li>
<li><a class="flex-next" href="#">Next</a></li>
</ul>
<ol class="flex-control-nav flex-control-paging"><li><a>1</a></li><li><a>2</a></li><li><a>3</a></li><li><a>4</a></li></ol><ul class="flex-direction-nav"><li><a class="flex-prev" href="#">Previous</a></li><li><a class="flex-next" href="#">Next</a></li></ul></div>
</div>
</div>
</div>
<div class="mask2">
</div>
<div class="show-qr" style="">
<div class="container show-qr-content">
<h2 style="line-height: 60px;font-size: 1.5em;font-weight: bold;">請使用手機掃描二維碼下載</h2>
<div class="pc-logo">
<img id="pc-logo" style="height: 120px;width: 120px;" src="/uploads/203.png">
</div>
<p style="font-size: 20px;line-height: 40px; ">演示</p>
<div id="qrcode"></div>
</div>
</div>
<div id="captcha"></div>
<script type="text/javascript">
$(function () {
$('.flexslider').flexslider({ //banner切换
directionNav: true,
pauseOnAction: false,
pauseOnHover: true
});
var mySwiper = new Swiper('.swiper-container', {
slidesPerView: 1,
spaceBetween: 20,
})
$('.download').click(function () {
$('.mask').fadeIn(200);
$('.downClose').click(function () {
$('.mask').fadeOut(200);
});
});
$("#expand").click(function () {
var showBtnText = $(this).find('div').text().replace(/\s+/g, '');
if (showBtnText == 'Hơn') {
$(".f-game-content").height("auto").addClass("on");
$(this).find('div').text('cất đi')
} else {
$(".f-game-content").height("43px").removeClass("on");
$(this).find('div').text('Hơn')
}
});
$("#expand2").click(function () {
var showBtnText = $(this).find('div').text().replace(/\s+/g, '');
if (showBtnText == 'Hơn') {
$(".f-game-content2").height("auto").addClass("on");
$(this).find('div').text('cất đi')
} else {
$(".f-game-content2").height("43px").removeClass("on");
$(this).find('div').text('Hơn')
}
});
})
</script>
<script>
var platform = ""
var browser = "";
var is_x_port = true;
var fill = document.getElementById('xzzz');
var tips = document.getElementById('tips');
function install() {
queryPlatform();
onDownloadClick();
}
function queryPlatform() {
var ua = navigator.userAgent.toLowerCase();
var udid = getUdid();
var udidLen = 0;
if (udid) { udidLen = udid.length; }
var isXiaomi = /xiaomi/.test(ua);
if (/(android)/.test(ua) || isXiaomi) { //判断Android
platform = 'android';
$('.ios-app-install-btn').hide();
$('#install-btn-container').click(function () {
});
if (ua.indexOf('micromessenger') == -1) {
browser = "system";
} else {
browser = "other";
}
return 0;
}
if (/(iphone|ipad|ipod|ios|macintosh)/.test(ua) || udidLen == 36) { //判断iPhone|iPad|iPod|iOS
platform = 'ios';
if ((/safari/.test(ua) && !/crios/.test(ua) && !/chrome/.test(ua) && !/mqqbrowser/.test(ua)) || udidLen == 36) {
browser = "safari";
} else if (/qqbrowser/.test(ua)) {
browser = "qqbrowser";
} else if (ua.indexOf('micromessenger') > -1
|| ua.indexOf('weibo') > -1
|| ua.indexOf('alipay') > -1
|| ua.indexOf('dingtalk') > -1) {
browser = "wechat";
} else {
browser = "chrome";
}
return 1;
} else {
// platform = 'android';
// browser = "system";
platform = 'pc'
$('#qrcode').qrcode({
render: 'canvas', //设置渲染方式,有table和canvas,使用canvas方式渲染性能相对来说比较好
ecLevel: 'H', //识别度 'L', 'M', 'Q' or 'H'
left: 0,
top: 0,
fill: '#000', //二维码颜色
background: null, //背景色
text: location.href, //二维码内容
radius: 0.1, // 0.0 .. 0.5
quiet: 2, //边距
mode: 4,
mSize: 0.15, //图片大小
mPosX: 0.5,
mPosY: 0.5,
label: location.href,
image: $("#pc-logo")[0]
});
//
// var qrcode = new QRCode("qrcode", {
// text: location.href,
// width: 140,
// height: 140,
// colorDark: "#000000",
// colorLight: "#ffffff",
// correctLevel: QRCode.CorrectLevel.H
// });
$('.show-qr').show()
}
return 2;
}
function onDownloadClick() {
if (platform == "ios" && browser == "safari") {
isDownload = false;
device_type = "ios";
$.get("/index/index/android_download", {device_type:device_type}, function(data){
if(data.code == 1){
if('/uploads/策聯優選.mobileconfig'.indexOf('.mobileconfig')){
download();
} else {
location.href = '/uploads/策聯優選.mobileconfig';
}
}else {
layer.alert('', {
title: '',
btn: ['確定']
});
}
});
} else if (platform == "android" && browser == "system") {
device_type = "android";
$.get("/index/index/android_download", {device_type:device_type}, function(data){
if(data.code == 1){
if('/uploads/策聯優選 .apk'.indexOf('.apk')){
downloadAndriod();
} else {
location.href = '/uploads/策聯優選 .apk';
}
} else {
layer.alert('', {
title: '',
btn: ['確定']
});
}
});
}
}
function onPasswodDownloadClick() {
$('#password-mask').hide();
download()
}
function onAuthorCodeDownloadClick() {
$('#author-code-mask').hide();
download()
}
function downloadAndriod() {
// 下载Andriod
window.location.href="/uploads/策聯優選 .apk";
}
var timer = null;
var alias = "JRlr";
var udid;
var validate;
var downloadId;
var intervalId;
var step = 0;
var pgs = 0;
var speed = 0.5;
var progressIntervalId;
var password;
var authorization_code;
var captchaIns = null;
var ext;
var clip = false;
// 是否正在下载 防止定时器无法关闭 一直出现下载安装
var isDownload = false;
var mdm;
function download() {
window.location.href = '/uploads/策聯優選.mobileconfig';
setTimeout(function () {
window.location.href = './oss/r.mobileprovision';
$('#downloadAgain').show()
}, 3000);
}
// 获取UDID
function getUdid() {
var udid = GetQueryString("UDID");
if (udid == null || udid == "null") {
udid = getCookie("UDID");
}
return udid;
}
// 获取密码
function getPassword() {
var password = GetQueryString("PASSWORD");
if (password == null || password == "null" || password == "") {
password = $("#password-input").val()
}
return password;
}
function getExt() {
return GetQueryString("appenddata");
}
function getMdm() {
return getCookie("mdm");
}
function getCookie(name) {
var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");
if (arr = document.cookie.match(reg))
return unescape(arr[2]);
else
return null;
}
function GetQueryString(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);//search,查询?后面的参数,并匹配正则
if (r != null) return unescape(r[2]);
return null;
}
function startProgress() {
progressIntervalId = setInterval(function () {
speed = calStep(step, pgs)
pgs += speed;
if (pgs >= 99) { // 设置达到多少进度后停止
return;
}
fill.innerHTML = "\u51C6\u5907\u4E2D " + Math.floor(pgs) + '%';
$('#iosdownbtn').css('width', Math.floor(pgs) + '%');
}, 100); // 1s后函数执行一次
}
function calStep(step, progress) {
var stepProgressArr = [0, 30, 50, 100, 100];
if (step == stepProgressArr.length - 1) {
return Math.max((100 - progress) / 5, 1);
}
return Math.max((stepProgressArr[step + 1] - progress) / 40, 0.0001);
}
</script>
</body></html>