jQuery.browser and jQuery.browser.version issue

jQuery.browser and jQuery.browser.version issue

Dear jQuery Team,

I can understand your thinking about jQuery.support and in many situations there is obviously recommend to use it instead of jQuery.browser, but please notice, there is still high (critical) need to have ability to precisely identify user agents.

I think this is very uncommon bahaviour of jQuery.browser.version that in Firefox it displays e.g. 1.9.2.8 instead of 3.6.8. Browser version means clearly not version of Gecko engine (if you want this feature go ahead, but please put it in another property e.g. jQuery.browser.engineVersion). Current situation provide unnecessary confusion for programmers (http://stackoverflow.com/questions/1398962/why-does-jquery-browser-version-return-1-9-1-2-for-firefox-3-5-2) and I can't find any method to simply get version of browser ! Another problem is with jQuery.browser is that if I am using Google Chrome, and check it via $.browser.safari then I get true ! I think it will be ok, if you separate jQuery.browser into two different things:
  • browser identification (what about Flock, SeaMonkey, Konqueror etc. ?)
  • rendering engine identification (Gecko, Presto, WebKit etc.).

I think that jQuery is de facto standard JavaScript library, so it should provide professional fast-and-clear API for browser and browser engine detection

Best Regards,
Greg Szpetkowski