Saturday July 31, 2010 @ 04:09:00 GMT+10    ( Weather:  18°C / 64°F  -  Partly Cloudy )
Home » Weblog Archives

Powered byD's Bloggie
Weblog » Archive » 2007 » February » Day 12 » Listing all pictures on a page using Javascript
Browse by specific entry ...
 What Penang lang eat ?祝贺大家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.
 What Penang lang eat ?祝贺大家2007年新年快乐! 

Reader comments ( Add your comments )

- No comments (yet) -

Leave a public comment

Info Note: Neither BBCode nor HTML tags are supported currently.
Why ? Just to make my life easier and keep things simple.
Others: Comments that are longer than 1000 characters will be truncated.

    ) Info

Info

Info


Before you submit... verification

Please enter verification codes as seen in the image above to post your comment.
If you can't read the word, click here
(Your comment will be manually approved by admin before it's displayed to public)

$ view_blog.php 2009.09.17 18:16:41 $
Lost? | XML/HTML sitemap | Contact
38.107.191.88 , 22 queries , 0.0719s
Gzip enabled , CSS compressed , JS compressed
Copyright © 2005-2009 Darren's Outpost