Last active
May 18, 2022 18:15
-
-
Save alexdevero/24cf2713b298088d31c9f23703646ace to your computer and use it in GitHub Desktop.
print-blinkist.js
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
/** | |
* Simple snippet for printing free book summaries on https://www.blinkist.com/nc/daily | |
* Open the book and use following code via browser console. | |
*/ | |
$('.page main header, main .daily__top-menu, .reader__container > .reader__container__left, .reader__container__content .chapter.promotion, .reader__container__content .reader__container__buttons, .reader__container .reader__container__full__bottom_bar, .reader__container .reader__container__partial__bottom_bar').remove(); | |
$('.reader__container__right .reader__container__content .chapter').css('display', 'block'); | |
$('.chapter.supplement h1').css('margin-top', '0'); | |
$('.reader__container__content .chapter').css('opacity', '1'); | |
window.print(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is outstanding - thanks for taking the time to put this together.