101arrowz 4 years ago committed by GitHub
parent 55aa4719d2
commit 6b803bf21c

@ -10,4 +10,11 @@ ANY TEXTBOOKS YOU DOWNLOAD USING THIS SCRIPT.**
## Instructions
1. Open your textbook in the McGraw-Hill Connect website (how you normally open it)
2.
2. Type `javascript:` into the address bar (you can't paste it in).
2. Paste the following into the address bar AFTER the `javascript:` part:
`var x=new XMLHttpRequest();
x.onload=function({eval(x.responseText)};
x.open('GET','https://gist.githubusercontent.com/101arrowz/88156556326106a6ccd58ecb4526498c/raw/script.js');
x.send();`
3. Follow the instructions that pop up. Be patient!
4. Your textbook will download.

File diff suppressed because one or more lines are too long

@ -1,3 +1,4 @@
// Source code for the downloader.
import('https://cdnjs.cloudflare.com/ajax/libs/jszip/3.2.2/jszip.min.js').then(async () => {
alert('This is the McGraw-Hill Education Textbook Downloader. Click OK to start downloading the files.');
const IMPORT_URL = (await (await fetch('https://player-api.mheducation.com/lti', { credentials: 'include' })).json()).custom_epub_url;

Loading…
Cancel
Save