Borgar.net

— Jump to the navigation index

þriðjudagur, 17. okt 2006

Browser detection in Javascript

I have a need for a good, but not precise, browser sniffing script for purposes of web visitor logging. I have hacked together such a script. I would be very grateful if my visitors would tell me if the blue box is telling them the truth (javascript needed):

It’s been confirmed to work on:

  • Mac : Safari 2.0.4 (419.3)
  • Mac : Firefox 1.5, 2.0, 3.0
  • Mac : Opera 9.02
  • Mac : MSIE 5
  • Windows : MSIE 5.01, MSIE 6, MSIE 7 rc1, MSIE 7
  • Windows : Firefox 1.5, 2.0, 3.0
Published: 17. 10. 2006 18:56. Tagged: , , , , .