Skip to content

Instantly share code, notes, and snippets.

@gabrielstuff
Created January 19, 2012 15:11
Show Gist options
  • Save gabrielstuff/1640526 to your computer and use it in GitHub Desktop.
Save gabrielstuff/1640526 to your computer and use it in GitHub Desktop.
Resize Safari window/Chrome to whatever size you need
self.moveTo(0,0);
//iphone
self.resizeTo(360,480);
//iphone retina
self.resizeTo(960,640);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment