Methods
(inner) isAndroid(uaopt) → {Boolean}
是否是安卓设备
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
ua | String | <optional> | navigator.userAgent | 用户代理字符串 |
- Source
Returns:
- Type:
- Boolean
(inner) isIOS(uaopt) → {Boolean}
是否是IOS设备
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
ua | String | <optional> | navigator.userAgent | 用户代理字符串 |
- Source
Returns:
- Type:
- Boolean
(inner) isMobileEquipment(uaopt) → {Boolean}
是否是移动端设备
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
ua | String | <optional> | navigator.userAgent | 用户代理字符串 |
- Source
Returns:
- Type:
- Boolean
(inner) isQQ(uaopt) → {Boolean}
是否是QQ浏览器
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
ua | String | <optional> | navigator.userAgent | 用户代理字符串 |
- Source
Returns:
- Type:
- Boolean
(inner) isWeiBo(uaopt) → {Boolean}
是否是微博浏览器
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
ua | String | <optional> | navigator.userAgent | 用户代理字符串 |
- Source
Returns:
- Type:
- Boolean
(inner) isWx(uaopt) → {Boolean}
是否是微信浏览器
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
ua | String | <optional> | navigator.userAgent | 用户代理字符串 |
- Source
Returns:
- Type:
- Boolean