AU Browser Agent for IE9 - Postet den (2243 Views)
Average Member
Andy Humm
Innlegg: 908
908
I have just updated my laptop browser to IE9 and noticed that the Active Users OS/Brower column now shows Windows Vista / Safari even though I have Windows 7 and now IE9
Has anyone supplied the line of code that will display the IE9 and correct Browser

function fUserAgent(ua) and strBrowser

ElseIf instr(ua, "MSIE 8") Then
strBrowser = "Microsoft IE 8"
and

ElseIf instr(ua, "Windows Vista") or instr(ua, "Windows NT 6.0") then
strSystem = "Windows Vista"
Thanking you advance
   
 Sidestørrelse 
Postet den
Forum Admin
HuwR
Innlegg: 20611
20611
for IE 9 you need to add

ElseIf instr(ua, "MSIE 9") Then
strBrowser = "Microsoft IE 9"
and

then for windows 7

ElseIf instr(ua, "Windows NT 6.1") then
strSystem = "Windows 7"
Postet den
Average Member
Andy Humm
Innlegg: 908
908
Thanks HuwR
 
Du må legge inn en melding