Techno-magis

php_browscap.ini et IE 11

Thursday 9th January 2014

Bon, j'avais quelques problèmes avec la venue d'Internet Explorer 11, surtout que php_browscap.ini n'est plus mis à jour depuis juillet et que le net continue d'avancer sans lui. Sans trop de mal, j'arrive à ajouter les nouvelles versions de Firefox ou Chrome (et quelques autres quand j'y pense). Pour IE 11, qui a décidé de changer complètement son user agent, j'ai dû un peu chercher et finalement voilà les bonnes lignes à ajouter dans le fichier :

CODE:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IE 11.0
 
[IE 11.0]
Parent=DefaultProperties
Comment="IE 11.0"
Browser="IE"
Version=11.0
MajorVer=11
MinorVer=0
Beta=true
Win32=true
Frames=true
IFrames=true
ables=true
Cookies=true
BackgroundSounds=true
avaScript=true
VBScript=true
JavaApplets=true
ActiveXControls=true
CssVersion=3
 
[Mozilla/*(Windows NT 6.1*64*Trident/7.0; rv:11.0*)*]
Parent=IE 11.0
Platform="Win7"
Platform_Version=6.1
Win32=false
Win64=true
 
[Mozilla/*(Windows NT 6.1*Trident/7.0; rv:11.0*)*]
Parent=IE 11.0
Platform="Win7"
Platform_Version=6.1
 
[Mozilla/*(Windows NT 6.2*Trident/7.0; rv:11.0*)*]
Parent=IE 11.0
Platform="Win8"
Platform_Version=6.2
 
[Mozilla/*(Windows NT 6.3*Trident/7.0; rv:11.0*)*]
Parent=IE 11.0
Platform="Win8.1"
Platform_Version=6.3
 
[Mozilla/*(Windows NT 6.3; WOW64*Trident/7.0; rv:11.0*)*]
Parent=IE 11.0
Platform="Win8.1"
Platform_Version=6.3
Win32=false
Win64=true
 
[Mozilla/*(Windows NT 6.3; Win64*Trident/7.0; rv:11.0*)*]
Parent=IE 11.0
Platform="Win8.1"
Platform_Version=6.3
Win32=false
Win64=true
Categories:
By Zéfling, the 09/01/2014 at 13:52:37
The ticket was read 286 times, with 1 comment posted.
👍 0 👎 0

1 comment posted

By Zéfling, the 23/01/2014 at 20:39:32
Avatar
Administrator

Le site est maintenant de retour à cette adresse : http://browscap.org/
Le fichier ini plus que doublé de volume...

働いたら負け。

Write a commentary