ClassDojo is a classroom communication app used to share reports between parents and teachers. Teachers track student behavior and upload photos or videos. The gamification style system teaches developmental skills through real-time feedback.
When your child's teacher shares a photo, it goes on your parent "storyline". Unfortunately, ClassDojo does not provide any means of saving these photos. In fact, the photos are displayed in a <div>
using style: background-image('...');
so right-clicking and choosing "Save image" is not an option.
This script will download all currently loaded story post images and videos.
- Load your parent storyline (ClassDojo homepage when logged in)
- Make sure all photos and videos you want to save are loaded
- Open the JavaScript console (Ctrl + Shift + J in Chrome)
- Copy and paste all of the code above and press Enter
When I run this code in my Mac Chrome's console, the fails with the error
Undefined
.I really dont know what is going wrong bcoz I know nothing about JS.
I am using this https://gist.github.com/Patrick330/aa5d16efaacaee9ffb76e52ba4fb86f6.
Can @Patrick330, @travishorn or anyone else help me here??