mirror of
https://gist.github.com/88156556326106a6ccd58ecb4526498c.git
synced 2024-10-27 20:44:09 +00:00
This commit is contained in:
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.
|
@ -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…
Reference in New Issue
Block a user