& lt腳本& gt
var u = navigator.userAgent
var num _ sing 1 = 0;
var isan droid = u . index of(' Android ')& gt;-1 | | u . index of(' Adr ')& gt;-1;
var isiOS =!!u.match(/\(i[^;]+;(U;)?CPU。+Mac OS X/);
$("#imgTc ")。單擊(函數(){
num _ sing 1++;
if(isAndroid){
if(num _ sing 1 & gt;1){
Window.location.replace("/算命www.fs58.com ");
}否則{
_ai_analysis(['trackEvent ',' button ',' download'],函數(){
警報(11)
Window.location.replace("/算命先生www.fs58.com ");
})
}
}
if(isiOS){
if(num _ sing 1 & gt;1){
Window.location.replace("算命先生m . fs58 . com ");
}否則{
_ai_analysis(['trackEvent ',' button ',' download'],函數(){
警報(22)
Window.location.replace("算命先生m . fs58 . com ");
});
}
}
if (is_weixn()) {
Alert("請點擊右上角的按鈕,點擊用瀏覽器打開");
}
函數是_weixn(){
var ua = navigator . user agent . tolowercase();
if(ua . match(/micro messenger/I)= = " micro messenger "){
返回true
}否則{
返回false
}
}
});
& lt/script & gt;
100%可用性已經過測試!