判断是否是手机进入自动跳转
作者:小柳 日期:2015-07-30
程序代码
<SCRIPT language=JavaScript>
function mobile_device_detect(url)
{
var thisOS=navigator.platform;
var os=new Array("iPhone","iPod","iPad","android","Nokia","SymbianOS","Symbian","Windows Phone","Phone","Linux armv71","MAUI","UNTRUSTED/1.0","Windows CE","BlackBerry","IEMobile");
for(var i=0;i<os.length;i++)
Tags: 判断是否是手机进入自动跳转
- 1