

(function(){ var ua = navigator.userAgent.toLowerCase(); var bIsIpad = ua.match(/ipad/i) == "ipad"; var bIsIphoneOs = ua.match(/iphone os/i) == "iphone os"; var bIsAndroid = ua.match(/android/i) == "android"; var bIsWM=ua.match(/windows mobile/i)=="windows mobile"; var host = "https://m.wendeyipi.com"; var pathname = window.location.pathname; if(bIsIpad||bIsIphoneOs||bIsAndroid||bIsWM){ window.location.href =host + pathname; } })();