views:

9

answers:

1

Here's my problem. I have 3 days to update my company's Javascript browser detection. I'd love to take the time and implement feature detection but that's just not feasible in the allotted time. I'd like the best possible solution given the constraints.

In my mind, a Javascript library that identifies a browser based on feature detection is the best solution. For example, features A, B, and C work, so this is IE6. Is there any library that has taken this approach?

A: 

I know that Mootools and Dojo have some properties set, that tell you which browser they're running in. I suppose a lot of the others do, too.

DanMan
Modernizr will let you see what features are supported
Roadie57