Skip to content

Instantly share code, notes, and snippets.

@ejknapp
Created January 22, 2013 16:37
Show Gist options
  • Save ejknapp/4596111 to your computer and use it in GitHub Desktop.
Save ejknapp/4596111 to your computer and use it in GitHub Desktop.
A bookmarklet to increase the font size on a web page.
javascript:var%20p=document.getElementsByTagName('*');for(i=0;i%3Cp.length;i++)%7Bif(p%5Bi%5D.style.fontSize)%7Bvar%20s=parseInt(p%5Bi%5D.style.fontSize.replace(%22px%22,%22%22));%7Delse%7Bvar%20s=12;%7Ds+=2;p%5Bi%5D.style.fontSize=s+%22px%22%7D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment