Created
July 27, 2019 19:19
-
-
Save CezaryDanielNowak/2ab07606b4471f0ffe004094d59477b4 to your computer and use it in GitHub Desktop.
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
// Open gallery and run from console: | |
const images = $$('div[style="transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1);"] img') | |
const result = images.map((img, i) => { | |
return `<a href="${img.src}" download="Img${i}">${img.src}</a>`; | |
}); | |
document.body.innerHTML = result.join('<br />') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment