爱意满满的作品展示区。
Tankpt

测试下一个修改的 UserAgent,欢迎补充 bug

  •  
  •   Tankpt · Mar 28, 2014 · 3971 views
    This topic created in 4496 days ago, the information mentioned may be changed or developed.
    前几天老师让弄一个识别浏览器的东西,然后就想到书上有参考代码,于是便拿出来修改了下,尝试下附上地址https://github.com/Tankpt/UserAgent主要是识别内核,浏览器,以及系统,暂时只弄了ie,firefox,chrome,opera

    测试地址http://tankpt.github.io/UserAgent/

    虽然没多少用途,新手渣渣只是好奇,如果哪里有什么不足,还希望提出,谢谢
    6 replies    1970-01-01 08:00:00 +08:00
    Tankpt
        1
    Tankpt  
    OP
       Mar 28, 2014
    好忧伤。。又沉了
    jasontse
        2
    jasontse  
       Mar 28, 2014 via iPad
    Tankpt
        3
    Tankpt  
    OP
       Mar 28, 2014
    @jasontse = =原来有这样的==之前因为不知道,还一个个去做==谢谢了
    ChanneW
        4
    ChanneW  
       Mar 28, 2014
    自己学一遍也好,肯定有不少收获。
    Tankpt
        5
    Tankpt  
    OP
       Mar 28, 2014
    @ChanneW 嗯嗯。是的。知道了一些不知道的东西
    kawaiiushio
        6
    kawaiiushio  
       Mar 30, 2014
    http://ippotsuko.com/ua 参考的是早期的html5test的ua判别(用js方式)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2814 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 12:45 · PVG 20:45 · LAX 05:45 · JFK 08:45
    ♥ Do have faith in what you're doing.