Skip to content

Instantly share code, notes, and snippets.

@youxiachai
Created April 3, 2013 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save youxiachai/5303987 to your computer and use it in GitHub Desktop.
Save youxiachai/5303987 to your computer and use it in GitHub Desktop.
检测手机网页页面高度
document.body.scrollHeight || document.documentElement.scrollHeight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment