superCSS

js 如何识别 qq 内置浏览器啊?help?

  •  
  •   superCSS · Nov 5, 2014 · 4920 views
    This topic created in 4388 days ago, the information mentioned may be changed or developed.
    6 replies  •  2014-11-05 22:30:02 +08:00
    fising
    fising
    Nov 5, 2014❤️1
    1
    看看UA
    messagebus
    messagebus
    Nov 5, 2014
    2
    我用轻聊版 UA: Mozilla/5.0 (Linux; U; Android 4.1.2; zh-cn; Coolpad 5930 Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 V1_AND_SQ_4.6.1_9_YYB_D QQ/3.0.1.270

    好像可以通过 V1_AND_SQ_4.6.1_9_YYB_D 识别
    superCSS
    superCSS
    OP
    Nov 5, 2014
    3
    @ccbikai 试过后这样就能识别:navigator.userAgent.toLowerCase().match(/qq/)
    wheato
    wheato
    Nov 5, 2014
    4
    /mqqbrower/i.test(navigator.userAgent);
    messagebus
    messagebus
    Nov 5, 2014
    5
    @superCSS QQ浏览器电脑版呢?
    messagebus
    messagebus
    Nov 5, 2014❤️1
    6
    你把 安卓 苹果的 QQ,QQ轻聊版 全安装下,访问 v2ex.com/ua ,看看UA,找找规律
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3481 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 04:08 · PVG 12:08 · LAX 20:08 · JFK 23:08
    ♥ Do have faith in what you're doing.