You are correct that browser sniffing is "so 1997" and the wrong way to determine whether or not a browser is capable of running certain JS code but there might be specific instances when browser sniffing might be beneficial such as web stats. -----Original Message----- That's exactly the point. You can never be 100% confident. Do not detect browser version at all. This will relieve all your pain. Or am I wrong?