Skip to content

Instantly share code, notes, and snippets.

@theophani
Created March 30, 2012 11:14
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theophani/2250859 to your computer and use it in GitHub Desktop.
Save theophani/2250859 to your computer and use it in GitHub Desktop.
Y U NO RESIZE? bookmarklet
// put this in a bookmarklet
// click it as required
javascript: (function () {
var style = document.createElement('style');
style.innerHTML = '* { -webkit-text-size-adjust:auto; }';
document.head.appendChild(style);
})();
@theophani
Copy link
Author

If you have never created a bookmarklet, here's one way to do it:

  • Bookmark this page right now.
  • Edit the bookmark, and change the name to "Y U NO RESIZE?" (or whatever)
  • While editing, change the URL to the code in lines 4 through 8 in the snippet above.

For more about making your own, I wrote a whole article about it:
http://rootcamp.io/?p=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment