Skip to content

Instantly share code, notes, and snippets.

@sean3z
Last active May 29, 2021 08:16
Show Gist options
  • Save sean3z/49553cda816d6b3a0795dad74b0bd6d2 to your computer and use it in GitHub Desktop.
Save sean3z/49553cda816d6b3a0795dad74b0bd6d2 to your computer and use it in GitHub Desktop.
Get around CourseHero preview limit
let content = document.querySelector('main.bdp_docViewerWide_main');
$('.bdp_doc-viewer_notification').after(content.innerHTML);
$('.mfp-bg.mfp-ready, .mfp-content').hide();
document.querySelector('body').style.overflow = 'auto';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment