Commit 59218a8a by dabai

ios 下载 测试

parent 0c8c2304
Showing with 23 additions and 20 deletions
......@@ -115,38 +115,41 @@
}
console.log(iosData,andoridData)
var clickFlag = true;
var ua = window.navigator.userAgent.toLowerCase();
if(/iphone|ipad|ipod/.test(ua)){
var data = {
icid:iosData
}
if(iosData.indexOf('iosftscps')>-1){
var button = document.getElementById("iosDown");
button.onclick = function () {
copyText(iosData);
console.log(123)
if(clickFlag){
clickFlag = false;
copyText(iosData);
}
setTimeout(function () {
window.location.href = 'https://apps.apple.com/us/app/footseen-random-video-chat-app/id1491129400';
},1000)
}
} else {
var button = document.getElementById("iosDown");
button.onclick = function () {
copyText(iosData);
setTimeout(function () {
window.location.href = 'https://apps.apple.com/us/app/footseen-random-video-chat-app/id1491129400';
},500)
}
setTimeout(function(){
copyText(iosData);
window.location.href = 'https://apps.apple.com/us/app/footseen-random-video-chat-app/id1491129400';
},2000)
}
// if(iosData.indexOf('iosftscps')>-1){
//
//
// } else {
// var button = document.getElementById("iosDown");
//
// button.onclick = function () {
// copyText(iosData);
// setTimeout(function () {
// window.location.href = 'https://apps.apple.com/us/app/footseen-random-video-chat-app/id1491129400';
// },500)
// }
//
// setTimeout(function(){
// copyText(iosData);
// window.location.href = 'https://apps.apple.com/us/app/footseen-random-video-chat-app/id1491129400';
// },2000)
// }
} else {
setTimeout(function(){
toDown();
......
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