EN
Forum

Methodology

Toolbox

Platform

JSDocSource

Module ua

Detect some user agent features

Object methods:

ua()
description
User agent
ios()
description
iOS version
iphone()
description
Is iPhone
ipad()
description
Is iPad
android()
description
Android version
bada()
description
Bada version
wp()
description
Windows Phone version
other()
description
Undetected platform
opera()
description
Opera version
chrome()
description
Chrome version
screenSize()
description
Screen size, one of: large, normal, small
dpr()
description
Device pixel ratio
connection()
description
Connection type, one of: wifi, 3g, 2g
flash()
description
Flash version
video()
description
Is video supported?
svg()
description
Is SVG supported?
width()
description
Viewport width
height()
description
Viewport height
landscape()
description
Is landscape oriented?

ua__dom

Use ua module to provide user agent features by modifiers and update some on orient change