Skip to main content

Bug Tracker

Side navigation

#12032 closed bug (wontfix)

Opened July 06, 2012 05:46PM UTC

Closed July 08, 2012 02:46AM UTC

$.browser.safari returns true in latest Chrome release

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

The latest Chrome release for Mac (20.0.1132.47) looks like it changed it's user agent string and is causing jQuery's $.browser.safari function is returning true.

Attachments (0)
Change History (3)

Changed July 07, 2012 03:31AM UTC by dmethvin comment:1

owner: →
status: newpending

I wouldn't count on this being the last time, you can use navigator.userAgent to directly sniff out whatever you think is a more accurate detection.

Can you provide the full user agent for your browser?

Changed July 07, 2012 10:56PM UTC by anonymous comment:2

Yeah I've already figured out my own detection in the meantime, here's the user agent string the current Chrome build spits out:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_0) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11

Changed July 08, 2012 02:46AM UTC by rwaldron comment:3

resolution: → wontfix
status: pendingclosed

This is because $.browser is unmaintained - to maintain is to encourage its use. Don't use it.