| 入参 | 功能 | 类型 | 默认 | 说明 |
|---|
| ua | 用户代理 | String | "" | 可以传入任何UserAgent字符串 |
| 出参 | 功能 | 类型 |
|---|
| system | 系统 | windows/macos/linux/android/ios |
| systemVs | 系统版本 | x.y.z |
| platform | 平台 | desktop/mobile |
| engine | 内核 | webkit/gecko/presto/trident |
| engineVs | 内核版本 | x.y.z |
| supporter | 载体 | chrome/safari/edge/firefox/opera/iexplore |
| supporterVs | 载体版本 | x.y.z |
| supporter | 外壳 | uc/qq/sougou/maxthon/2345/360/liebao/xiaomi/huawei/oppo/vivo/wechat/baidu/toutiao |
| supporterVs | 外壳版本 | x.y.z |
import { WebType } from "@yangzw/bruce-us";
WebType();
/*{
engine: "webkit"
engineVs: "537.36"
platform: "desktop"
supporter: "chrome"
supporterVs: "109.0.0.0"
system: "windows"
systemVs: "10"
}*/