Last active
August 29, 2015 14:07
-
-
Save shvelo/18ecca4efbfef4a07515 to your computer and use it in GitHub Desktop.
Download all images on page. (dangerous, can open shit ton of windows)
This file contains 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
var downloadLink = document.createElement('a'); | |
downloadLink.download = true; | |
for(i in document.images) { downloadLink.href = document.images[i].src; downloadLink.click() }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment