Yeah, I know that feature detection is preferable.
I’ve got a case in my codebase where we are using $.browser.msie and $.browser.version to decide whether to render some CSS or not. The developer who wrote the code is no longer with us, and I don’t fully understand exactly what kind of feature detection I should write here instead.
As a quick fix, what’s the shortest way to implement $.browser.msie and $.browser.version?
I’ll just copy the code from jQuery 1.8.3.