[TYPO3-core] Re: Re: Re: RFC#14546: Cleanup: IE 6 does not support alpha-transparent-pngs which looks "&%/§$%&" with sprites

Jigal van Hemert jigal at xs4all.nl
Sat Jun 5 10:06:31 CEST 2010


Benjamin Mack wrote:
>> +        if(!(strpos($userAgent, 'MSIE 6') === false)
>> +        &&  strpos($userAgent, 'Opera') === false
>> +        &&  strpos($userAgent, 'MSIE 7') === false) {
>> +                //make sure we match IE6 but not Opera or IE7
> Apparantly it's necessary to have a check like this, but in 1 month 
> nobody will know why we need the check above instead of a simple

I have an IE8 which produces this user agent string:
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)

So, this will also be seen as IE6?

IIRC Steffen Kamper is working on an updated version of 
t3lib_utility_Client::getBrowserInfo() which should be able to correctly 
detect the most used browsers; including the strange version numbering 
of IE...

-- 
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh


More information about the TYPO3-team-core mailing list