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: | bryan@resen.co | Owned by: | bryan@resen.co |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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 comment:1
owner: | → bryan@resen.co |
---|---|
status: | new → pending |
Changed July 07, 2012 10:56PM UTC by 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 comment:3
resolution: | → wontfix |
---|---|
status: | pending → closed |
This is because $.browser is unmaintained - to maintain is to encourage its use. Don't use it.
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?