/ySniff

更全面的浏览器检测工具

Primary LanguageJavaScript

ySniff - 更全面的浏览器检测工具

检测内容示例如下(iOS平台微信浏览器):

{
    "os": "ios",
    "osVersion": "9.3.2",
    "osVersionN": 9,
    "ios": true,
    "ipod": false,
    "ipad": false,
    "iphone": true,
    "imobile": true,
    "android": false,
    "browsers": {
        "wechat": "6.3.19",
        "alipay": false,
        "qq": false,
        "weibo": false,
        "uc": false,
        "opera": false
    },
    "info": {
        "Mozilla": "5.0",
        "AppleWebKit": "601.1.46",
        "Mobile": "13F69",
        "MicroMessenger": "6.3.19",
        "NetType": "WIFI",
        "Language": "zh_CN"
    },
    "pixelRatio": 2,
    "retina": true,
    "webApp": true,
    "pc": false
}