Tag: Else Symbian SPI BSP nbsp Coolpad phi Ova Mini
Verify that the phone is not logged in operation
function Is_mobile () {
var regex_match =/(nokia|iphone|android|motorola|^mot-|softbank|foma|docomo|kddi|up.browser|up.link|htc|dopod| blazer|netfront|helio|hosin|huawei|novarra| coolpad|webos|techfaith|palmsource|blackberry|alcatel|amoi|ktouch|nexian|samsung|^sam-|s[cg]h|^lge|ericsson| Philips|sagem|wellcom|bunjalloo|maui|symbian|smartphone|midp|wap|phone|windows ce|iemobile|^spice|^bird|^zte-| Longcos|pantech|gionee|^sie-|portalmmm|jigs browser|hiptop|^benq|haier|^lct|operas*mobi|opera*mini|320x320| 240x320|176x220)/I;
var u = navigator.useragent;
if (null = = u) {
return true;
}
var result = regex_match.exec (u);
if (null = = result) {
return False
} else {
return True
}
}
Is the phone operation returns true not to return false
Mobile Login Verification