Ticket #3374 (closed feature: wontfix)
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 |
| Blocking: | Blocked by: |
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
Change History
Changed 5 years ago by raccettura
-
attachment
osdetect.diff
added
comment:1 Changed 5 years ago by flesler
- Cc raccettura.flesler added
- need changed from Review to Test Case
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.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

jQuery.os