Skip to content

Instantly share code, notes, and snippets.

@alexdevero
Last active May 18, 2022 18:15
Show Gist options
  • Save alexdevero/24cf2713b298088d31c9f23703646ace to your computer and use it in GitHub Desktop.
Save alexdevero/24cf2713b298088d31c9f23703646ace to your computer and use it in GitHub Desktop.
print-blinkist.js
/**
* 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();
@mccar2cm
Copy link

This is outstanding - thanks for taking the time to put this together.

@alexdevero
Copy link
Author

Thanks @mccar2cm.

@AsifMian
Copy link

Loved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment