Categories
Apply to

Collect Images JS

<script type="text/javascript">
	function img_find() {
		var imgs = document.getElementsByTagName("img");
		var imgSrcs = [];

		for (var i = 0; i < imgs.length; i++) {
		    imgSrcs.push( imgs[i].src);
		}

		return imgSrcs;
	}
</script>