js通过userAgent分析出以下浏览器及版本:
'IE8'
'AVG0'
'IE6'
'IE7'
'*0'
'Mozilla1'
'AppleWebKit0'
'Chrome3'其中:
'AVG0'
'*0'
'AppleWebKit0'
分别代表什么浏览器呢?
'IE8'
'AVG0'
'IE6'
'IE7'
'*0'
'Mozilla1'
'AppleWebKit0'
'Chrome3'其中:
'AVG0'
'*0'
'AppleWebKit0'
分别代表什么浏览器呢?
调试欢乐多
WebKit是一个开源的框架!apple的safari就是基于这个内核的浏览器
http://zh.wikipedia.org/zh-tw/WebKit
HttpContext.Current.Request.Browser.Type
我也怀疑为什么没有OPERA,还有Safari,难道他们都被和谐了?
Trident(MSHTML)
Gecko(Mozilla)
Presto(Opera)
WebKit(Apple)
'AVG0'为360
'*0'可能是opare
'AppleWebKit0'为safari谢谢xiaofanku的热情帮助