Last active
February 27, 2017 11:41
-
-
Save danielmahal/d98c844cc4f6688a085cecbc0729063c to your computer and use it in GitHub Desktop.
Download all images (<img>) from webpage
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
javascript:(function(){ document.querySelectorAll('img').forEach(function(image) { var link = document.createElement('a'); link.setAttribute('download', true); link.setAttribute('href', image.src); link.click(); }) })(); |
Author
danielmahal
commented
Feb 27, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment