Skip to content

Instantly share code, notes, and snippets.

@ejknapp
Created January 20, 2013 17:41
Show Gist options
  • Save ejknapp/4580156 to your computer and use it in GitHub Desktop.
Save ejknapp/4580156 to your computer and use it in GitHub Desktop.
Enable zooming in mobile browsers.
javascript:document.querySelector('meta[name=viewport]').setAttribute('content','width=device-width,initial-scale=1.0,maximum-scale=10.0,user-scalable=1');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment