2011-11-03 49 views
1

我收到這個字符串我想識別用戶代理和他使用它的瀏覽器列出的mozilla我看到蘋果字符串和KHTML,Gecko Safarii很難確定他真正使用哪種瀏覽器。這是什麼用戶代理?

請幫我鑑定用戶代理,OS或設備

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22 

回答

4

這是Safari瀏覽器版本5.1.1(最新版本),在Mac OS X獅子10.7.2(最新版本)上運行。

1

http://www.useragentstring.com

Safari 5.1.1 

- Mozilla   Mozilla ProductSlice. Claims to be a Mozilla based user agent, 
        which is only true for Gecko browsers like Firefox and 
        Netscape. For all other user agents it means 
        'Mozilla-compatible'. In modern browsers, this is only used 
        for historical reasons. It has no real meaning anymore 
- 5.0    Mozilla version 
- Macintosh  Platform 
- Intel Mac OS X Operating System: OS X Version 10_7_2 : running on a 
    10_7_2   Intel CPU 
- AppleWebKit  The Web Kit provides a set of core classes to display web 
        content in windows 
- 534.51.22  Web Kit build 
- KHTML   Open Source HTML layout engine developed by the KDE project 
- like Gecko  like Gecko... 
- Version   Safari Version 
- 5.1.1   Version 
- Safari   Name :Safari 
- 534.51.22  Safari build number 

您可能也想看看http://tools.ietf.org/html/rfc1945#section-10.15