标签:是否安卓
var ss= location.search;
function ios()
{
var sUserAgent = navigator.userAgent;
var isLinux = (String(navigator.platform).indexOf("Linux") > -1);
var bIsAndroid = sUserAgent.toLowerCase().match(/android/i) == "android";
if (isLinux)
{
if(bIsAndroid) return "Android";
else return "Linux";
}
return "other";
}
if (ios()=="Android")
{
window.location="http://www.0391sunhotel.com/movie/12.html";
}else{
//window.location="/index5.htm";
}
标签:是否安卓
原文地址:http://hackermi.blog.51cto.com/3722285/1725661