Created
April 1, 2016 17:44
-
-
Save StephenPunwasi/39e6009da55bedc68d93ba40882b4a38 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
jQuery('img').each(function(){imgsrc = this.src); console.log(imgsrc);}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Outputs all images to console. For sites that don't have jQuery, you'll need to add it to the head. e.g.
var jq = document.createElement('script');
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js";