[TYPO3-dev] BrowserInfo going beserk...
Jigal van Hemert
jigal at xs4all.nl
Sat May 15 19:30:08 CEST 2010
While checking the styling of the Install Tool I noticed that the
browsers weren't detected correctly. So I collected the output of
t3lib_utility_Client::getBrowserInfo():
Chrome 4.1
==========
useragent Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US)
AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5
browser safari
version 532.5
all
webkit 532.5
chrome 4.1
safari 532.5
system winNT
Safari
==========
useragent Mozilla/5.0 (Windows; U; Windows NT 6.0; nl-NL)
AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9.1
browser safari
version 531.9
all
webkit 531.9
safari 531.9
system winNT
IE8
==========
useragent Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0;
Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ;
SLCC1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET
CLR 3.0.30729)
browser msie
version 6.0
all msie 6.0
system
IE6
==========
useragent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 6.0; Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.1; SV1) ; SLCC1; .NET CLR 2.0.50727;
.NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
browser msie
version 6.0
all msie 6.0
system winNT
IE8 in IE7 mode
===============
useragent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.1; SV1) ; SLCC1; .NET CLR 2.0.50727;
.NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
browser msie
version 6.0
all msie 6.0
system winNT
FF 3.6.3
==========
useragent Mozilla/5.0 (Windows; U; Windows NT 6.0; nl; rv:1.9.2.3)
Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
browser firefox
version 3.6
all
gecko 20100401
firefox 3.6
system winNT
Maybe we do need a more advanced detection system like [1] ?
[1]
http://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php/
--
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
More information about the TYPO3-dev
mailing list