Side navigation
#3374 closed feature (wontfix)
Opened September 17, 2008 07:16PM UTC
Closed June 16, 2010 03:00AM UTC
Support jQuery.os
Reported by: | raccettura | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.3 |
Component: | core | Version: | 1.2.6 |
Keywords: | os, detect, user agent | Cc: | raccettura.flesler |
Blocked by: | Blocking: |
Description
jQuery has a really handy for browser detection. In some cases it's also handy to detect OS. For example downloads, media players (WMP for Mac sucks), and even fonts (sometimes an extra pixel makes a difference for Mac OS X due to it's anti-aliasing).
I therefore propose adding jQuery.os
I've got a patch to get this started.
The biggest question is what OS's to detect. This should catch the big ones.
Attachments (1)
Change History (2)
Changed September 17, 2008 09:01PM UTC by comment:1
cc: | → raccettura.flesler |
---|---|
need: | Review → Test Case |
Changed June 16, 2010 03:00AM UTC by comment:2
resolution: | → wontfix |
---|---|
status: | new → closed |
jQuery doesn't need this internally, and it would likely be as hard to get right as jQuery.browser. It could be done as a plugin and contributed to the plugin repository.
While possible, it's not something required on the core. I recall seeing 1 or more plugins that extend or even rewrite the browser object.
You can always add that as a plugin. If you think it can help somewhere in the core and you can show us where and how, we can surely add that, then.