Created
September 23, 2011 21:55
-
-
Save mason-stewart/1238540 to your computer and use it in GitHub Desktop.
Fast way to check all the src of the images on a page
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
| var imgs = document.getElementsByTagName("img"); | |
| var x = imgs.length; | |
| while (x--){ | |
| console.log(imgs[x].getAttribute("src")); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment