The current issue is that on line 264 of the script, the injected function attemps to pass this as an argument to the function window.drawhook. I don't have the time to fix this issue, but anyone that's interested is welcome to try and fix it and submit a pull request.
Looks like Sketchfab has done something to their website that makes this ripper not work properly anymore.