Created
November 14, 2017 16:44
-
-
Save iznenad/5156af962c3dd728d8186f7f080a027d to your computer and use it in GitHub Desktop.
prepare_for_print
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function () {var title = document.getElementsByClassName('gh-header-title instapaper_title')[0];var body = document.getElementsByClassName('markdown-body')[0];var newDiv = document.createElement('div');newDiv.className = "container";newDiv.appendChild(title);newDiv.appendChild(body);document.getElementsByTagName('body')[0].innerText = '';document.getElementsByTagName('body')[0].appendChild(newDiv);})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
example:
https://github.com/ebf/EBFWiki/wiki/MIDA-installation-Guide
click it while on a page
it just removes the header, links etc
after that you click cmd + P and export to pdf as usual