Reputation: 3670
I have used $.browser.webkit to detect if my browser is either Safari/Chrome, now this check returns false when using Chrome ?
$.browser.webkit
false
Upvotes: 0
Views: 143
Reputation: 318342
$.browser is deprecated, and you should use $.support instead to check for available features and not specific browsers!
$.browser
$.browser is still available in jQuery 1.8, but will return Chrome in chrome browsers etc. and no longer returns webkit.
Chrome
webkit
FIDDLE
Upvotes: 5