Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am aaronwro on github.
  • I am aaronwro (https://keybase.io/aaronwro) on keybase.
  • I have a public key whose fingerprint is 7E67 BC24 DF41 9D28 8FBF 2D43 2D07 709F 9166 2543

To claim this, I am signing this object:

@aaronwro
aaronwro / scroll.js
Created June 9, 2013 18:37
js to scroll the chrome away
window.addEventListener("load",function() {
// Set a timeout...
setTimeout(function(){
// Hide the address bar!
window.scrollTo(0, 1);
}, 0);
});
@aaronwro
aaronwro / mobile_safari.html
Created June 9, 2013 02:34
meta data for hiding Mobile Safari chrome and iPhone home screen icon
// hide the browser chrome
<meta name="apple-mobile-web-app-capable" content="yes" />
//set the phone status bar style; can be grey, black, or black translucent
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
// set the viewport for iOS
<meta content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no" name="viewport" />
// set a custom icon for when a user bookmarks the app to the home screen