Commit 33ed5345 by dabai

自动下载 lala51渠道 增加统计

parent 372c1036
Showing with 208 additions and 10 deletions
......@@ -20,6 +20,24 @@
<link rel="stylesheet" href="https://www.footseen.com/css/inedx.css">
<link rel="stylesheet" href="https://www.footseen.com/layer-v3.1.0/layer.css">
<title>Foot Seen</title>
<script type="text/javascript">
if(url_get_params2().icid.indexOf('lala51')>-1){
window.location.href = 'download51.html'+location.search;
}
function url_get_params2() {
var url = location.href;
var theRequest = new Object();
if(url.indexOf("?") != -1) {
var str = url.substr(url.indexOf("?") + 1);
strs = str.split("&");
for(var i = 0; i < strs.length; i++) {
theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
}
}
return theRequest;
}
</script>
</head>
<body>
<div class="main">
......@@ -57,17 +75,17 @@
<script type="text/javascript">
function url_get_params() {
var url = location.href;
var theRequest = new Object();
if(url.indexOf("?") != -1) {
var str = url.substr(url.indexOf("?") + 1);
strs = str.split("&");
for(var i = 0; i < strs.length; i++) {
theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
var url = location.href;
var theRequest = new Object();
if(url.indexOf("?") != -1) {
var str = url.substr(url.indexOf("?") + 1);
strs = str.split("&");
for(var i = 0; i < strs.length; i++) {
theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
}
}
return theRequest;
}
return theRequest;
}
if( url_get_params().icid!=undefined){
var params = url_get_params().icid.replace(/(^\s*)|(\s*$)/g, "");
......
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript" src="//res.cdn.openinstall.io/openinstall.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-176823854-3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-176823854-3');
</script>
<meta charset="UTF-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="keywords" content="foot fetish,foot worship,foot tickle,Foot Seen,Video streaming">
<meta name="description" content="">
<meta content="telephone=no" name="format-detection">
<meta name="wap-font-scale" content="no">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta content="telephone=no" name="format-detection">
<script src="https://www.footseen.com/js/fsize.js"></script>
<link rel="stylesheet" href="https://www.footseen.com/css/swiper.min.css">
<link rel="stylesheet" href="https://www.footseen.com/css/base2.css">
<link rel="stylesheet" href="https://www.footseen.com/css/inedx.css">
<link rel="stylesheet" href="https://www.footseen.com/layer-v3.1.0/layer.css">
<title>Foot Seen</title>
</head>
<body>
<div class="main">
<span class="langTitle"><img src="https://www.footseen.com/img/down2.png"/><font></font></span>
<div class="langList">
<p data-lang="2">繁體中文</p>
<p data-lang="1">English</p>
<p data-lang="7">العربية</p>
</div>
<img src="https://www.footseen.com/img/logo.png" class="logo" />
<a class="topUp"></a>
<div id="iosDown" class="iosDown heartbeat"></div>
<img src="https://www.footseen.com/img/live.png" class="live" />
<div class="swiper-container hide">
<div class="swiper-wrapper">
<div class="swiper-slide">
<img src="https://www.footseen.com/img/img1_cn.png"/>
</div>
<div class="swiper-slide">
<img src="https://www.footseen.com/img/img2_cn.png"/>
</div>
<div class="swiper-slide">
<img src="https://www.footseen.com/img/img3_cn.png"/>
</div>
</div>
<div class="swiper-pagination"></div>
</div>
</div>
</body>
<script src="https://www.footseen.com/js/jquery-3.1.1.min.js"></script>
<script src="https://www.footseen.com/js/swiper.min.js"></script>
<script type="text/javascript" src="https://www.footseen.com/js/langIos.js?v=202003301517" ></script>
<script src='https://www.footseen.com/layer-v3.1.0/layer/layer.js'></script>
<script type="text/javascript">
function url_get_params() {
var url = location.href;
var theRequest = new Object();
if(url.indexOf("?") != -1) {
var str = url.substr(url.indexOf("?") + 1);
strs = str.split("&");
for(var i = 0; i < strs.length; i++) {
theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
}
}
return theRequest;
}
if( url_get_params().icid!=undefined){
var params = url_get_params().icid.replace(/(^\s*)|(\s*$)/g, "");
} else {
var params = '';
}
var iosData = '';
var andoridData = '';
if(params != undefined && params.length>0){
//定义设备号
if(params.substring(0,3) == 'ios'){
iosData = params;
andoridData = params.substring(3,params.length);
} else {
iosData = 'ios'+params;
andoridData = params;
}
} else {
iosData = 'iosfts';
andoridData = 'fts';
}
console.log(iosData,andoridData)
var ua = window.navigator.userAgent.toLowerCase();
if(/iphone|ipad|ipod/.test(ua)){
var data = {
icid:iosData
}
if(iosData.indexOf('iosftscps')>-1){
new OpenInstall({
appKey: "dzxj4c",
preferWakeup: true,
mask: function () {
return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>'
},
onready: function () {
var m = this, button = document.getElementById("iosDown");
m.schemeWakeup();
button.onclick = function () {
m.wakeupOrInstall();
return false;
}
return false;
}
}, data);
} else {
new OpenInstall({
appKey: "dzxj4c",
preferWakeup: true,
mask: function () {
return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>'
},
onready: function () {
var m = this, button = document.getElementById("iosDown");
m.schemeWakeup();
setTimeout(function () {
m.wakeupOrInstall();
},2000)
button.onclick = function () {
m.wakeupOrInstall();
return false;
}
return false;
}
}, data);
}
} else {
setTimeout(function(){
toDown();
$('.iosDown').on('click',function(){
toDown();
})
},800)
}
function toDown(){
var obj = {};
for(var i=1;i<=100;i++){
obj['lala'+add0(i)] = 'https://zhibocdn.yabolive.net/apk/nf/footseen'+add0(i)+'.apk';
if(i<=20){
obj['ftscps'+i] = 'https://zhibocdn.yazhaiyabo.com/apk/nf/ftscps'+i+'.apk';
}
}
console.log(obj)
if(obj[andoridData]!=undefined){
window.location.href = obj[andoridData]
} else {
window.location.href = 'https://www.footseen.com/apk';
}
}
$('.topUp').on('click',function(){
window.location.href = 'https://www.footseen.com/footseen/phonepay/applepay.html?lang='+sessionStorage.lang+'&gofrom=web'+'&gofrom=web&cidStr=h5_footseengw';
})
function add0(m) {
return m < 10 ? '0' + m + "" : m + ""
}
</script>
</html>
......@@ -137,7 +137,7 @@
$(".masking.L_En").fadeIn(500);
}
} else {
copyText(JSON.stringify(data));
setTimeout(function(){
new OpenInstall({
appKey: "tsy5ov",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment