Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 17, 2012
  1. @gerv

    Fix browser detection to be more future-proof - check for mobile brow…

    gerv authored
    …sers instead of 'desktop' ones. This does a better job for unusual OSes, tablets etc. "Mobile" is in the UA string of the latest mobile IE, mobile Firefox and all mobile WebKits, but is not in the UA string of Android tablets or desktop browsers.
    If you want to treat Opera Mobile as a mobile browser too, change the detection to "mobi" instead of "mobile".
Something went wrong with that request. Please try again.