jQuery.documentSize 1.2.1, Zepto demo (AMD)

On mobile, swipe down to enter minimal UI

The page demonstrates the use of Zepto, instead of jQuery, with the AMD build of jQuery.documentSize. See require-config.js for the setup. This page won't work in IE8 and other legacy browsers.

Document height:
Document width:

Visual viewport height:
Visual viewport width:
Layout viewport height:
Layout viewport width:
d.dE.clientHeight:
d.dE.clientWidth:

Pinch zoom factor:

body.gBCR().top:
body.gBCR().left:
body.gBCR().bottom:
body.gBCR().right: