Skip to content

Instantly share code, notes, and snippets.

@amster
Created January 4, 2013 19:16
Show Gist options
  • Save amster/4455131 to your computer and use it in GitHub Desktop.
Save amster/4455131 to your computer and use it in GitHub Desktop.
Hide/remove iPhone address bar (navigation bar) with the window.scrollTo() trick, but without moving the page perceptibly.
setTimeout( function(){ window.scrollTo(0, 0.1) }, 100 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment