Created
December 25, 2013 22:08
-
-
Save jdeng/8127424 to your computer and use it in GitHub Desktop.
This file contains 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
// command line | |
//"/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" -o js.pdf 0*.pdf | |
//quickfix css for angularjs.cn for printing | |
['ul.pagination', '.aside', '.footer', 'ul.user', '#comments', '#cnzz_stat_icon_1000062427'].forEach(function(e) {$(e).hide();}); | |
$('.pure-u-2-3').css("width", "100%"); | |
$('#main').css("background-color","#ffffff"); | |
$('pre.prettyprint').css('background-color', '#aaaaaa'); | |
$('.panel').css('-webkit-box-shadow', 'none'); | |
window.print(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment