Friday February 10, 2012 @ 20:49:27 GMT+10    ( Weather:  n/a )
Home » Weblog Archives

Powered byD's Bloggie
Weblog » Archive » 2007 » February » Day 12
Browse by day ...
 04 February, 200718 February, 2007 

Listing all pictures on a page using Javascript - 11:30 pm
Browser , Coding , Cool Stuff , Guides  -  poster 

Found a cool trick to display (nearly) all pictures on the web page you currently browsing.
  1. Open your browser
  2. Visit the page by typing the address of the web page in the address bar and hit [ENTER]
  3. Once the page has finish loading, copy & paste the below code to the address bar and hit [ENTER]
    [ Hide ]
    [ Highlight ] [ Text ]
    javascript:Ai7Mg6P='';for%20(i7M1bQz=0;i7M1bQz<document.images.length;i7M1bQz++){Ai7Mg6P+='<img%20src='+document.images[i7M1bQz].src+'><br>'};if(Ai7Mg6P!=''){document.write('<center>'+Ai7Mg6P+'</center>');void(document.close())}else{alert('No%20images!')}

Firefox has its own media browser if you need something like that.
 04 February, 200718 February, 2007 
$ view_blog.php 2009.09.17 18:16:41 $
Lost? | XML/HTML sitemap | Contact
38.107.179.243 , 19 queries , 0.3425s
Gzip enabled , CSS compressed , JS compressed
Copyright © 2005-2011 Darren's Outpost