Skip to content

Instantly share code, notes, and snippets.

@RobKohr
Created December 22, 2010 01:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobKohr/750919 to your computer and use it in GitHub Desktop.
Save RobKohr/750919 to your computer and use it in GitHub Desktop.
Bookmarklet to remove unnecessary headers from a google doc view
javascript:var el=document.getElementById('docs-header');el.style.display= 'none';KX_kixApp.resize();return false;
Instructions:
Create a new bookmark in your browser with whatever name you like, and copy the above as the url. When you are viewing a google doc click the bookmark and it will collapse the pointless junk at the top (everything above the menu bar).
Issues:
Only works on word docs, not on spreadsheets (which will collapse the top, but the bottom won't extend down). Only tested on documents and spreadsheets.
Feel free to offer any fixes to get spreadsheets to work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment