This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* HOWTO: Copy whole file, open devtools on page (F12 / Ctrl + Shift + i) and paste it into the console | |
* Chrome might ask you to allow downloading multiple images. | |
*/ | |
// credits for forceDownload: https://stackoverflow.com/a/49886131/8463645 | |
function forceDownload(url, fileName){ | |
var xhr = new XMLHttpRequest(); | |
xhr.open("GET", url, true); | |
xhr.responseType = "blob"; |