Monday, May 20, 2024
112
rated 0 times [  118] [ 6]  / answers: 1 / hits: 68226  / 14 Years ago, mon, march 22, 2010, 12:00:00

I'm trying to use this line to detect browser type: IE or Firefox.



alert(isBrowser(Microsoft));


but I get absolutely nothing, the alert doesn't even pop up. Not sure what I'm doing wrong.



What would be the best practice way to detect browser type?


More From » internet-explorer

 Answers
82

I hope this helps:



http://www.quirksmode.org/js/detect.html



(it's a long script, so i don't want to post it here)


[#97273] Thursday, March 18, 2010, 15 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lara

Total Points: 462
Total Questions: 100
Total Answers: 102

Location: Jersey
Member since Mon, Jun 14, 2021
3 Years ago
;