Add StuDocu Extracter to your Browser favorites, and click on it after you open the StuDocu document.
javascript:(function(){var a = "", x = document.getElementsByTagName("svg"); for(var i = 0; i < x.length; i++){a += x[i].outerHTML;} document.getElementsByTagName("body")[0].innerHTML = a;var a = document.getElementsByTagName("svg");for (var i = 0; i < a.length; i++){a[i].style.width="99.8%";a[i].style.height="auto";a[i].style.position="inherit";a[i].style.display="block";a[i].style.boxShadow="0 3px 3px rgba(0,0,0,0.3)";a[i].style.padding="0";}})()
Extract out all SVG tags and arrange it for printing.
- Only work with unified page size.
- Only work with fully accessable document.
- Need to turn on No border width option when printing.
Hey this is not correct anymore. StuDocu now uses iframes to load all pages and the script fails because of it. I am attaching my solution below to download the file properly. The only limitation to it is that currently studocu only loads iframes when the page is in "view". You can trick this by zooming out enough so all pages are in the view. The function that works is as below: