Bug Tracker

Opened 8 years ago

Closed 7 years ago

#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
Blocked by: Blocking:


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.

Change History (2)

comment:1 Changed 8 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.

comment:2 Changed 7 years ago by dmethvin

  • Resolution set to wontfix
  • Status changed from new to 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.

Note: See TracTickets for help on using tickets.