The $.browser makes use of navigator.userAgent to determine the platform.As $.browser uses navigator.userAgent to determine the platform, it is vulnerable to spoofing by the user or misrepresentation by the browser itself. It is always best to avoid browser-specific code entirely where possible. The $.support property is available for detection of support for particular features rather than relying on $.browser.Thus using the above jQuery code we can determine the current running browser and its version.