Skip to content

Instantly share code, notes, and snippets.

Avatar

Jens H. Lueck JulesNeck

  • LMedia
  • Germany
View GitHub Profile
@JulesNeck
JulesNeck / hideBar.js
Created Oct 2, 2011
Hide URL Bar for iOS and Android based on html5 mobile boilerplate
View hideBar.js
// Hide URL Bar for iOS and Android "level above next level"
// streamlined version without extension part
// slowly moving it to perfection...
MBP.hideUrlBar = function () {
if ( !location.hash ) {
doScrollTop = setInterval(function(){