标签:lang symbian ios pod class one 判断 返回 test
//是移动端返回true,否则false
function isMobile() {
return (/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone|webOS|android/i.test(navigator.userAgent))
}
标签:lang symbian ios pod class one 判断 返回 test
原文地址:https://www.cnblogs.com/ziyue7575/p/13984283.html