Created
April 18, 2022 00:52
-
-
Save MessiDaGod/6cdb284458d18ab2cb52f05281c128b1 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
var imgs = document.getElementsByTagName("img"); | |
var imgSrcs = []; | |
for (var i = 0; i < imgs.length; i++) { | |
imgSrcs.push(imgs[i].src); | |
} | |
return imgSrcs; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment