5 February 2007

images.google.com get dimensions

Plenty people complaining about new google images not showing dimensions… it’s annoying yes… there are some great solutions out there getting the old google back, but do i really want to disable javascript for google images?

If you paste the below code in your browser location bar … when you have a images.google.com result … then you will see all the dimensions.

javascript:b=document.getElementsByTagName(‘div’);function A(){for (var i = 0; i < b.length; i++){try{b[i].onmouseover(); b[i].onmouseover=null;b[i].onmouseout=null;}catch(e){}}};A();

It’s a very simple ... it loops over all the divs on the page and runs the “ONMOUSEOVER” command and then removes the “ONMOUSEOVER/ONMOUSEOUT” behaviors.

You can drag the below link, into your browser bookmark bar and just click it when you are ready:

show dimensions

This was a quick test ... if useful i will update to remove the background color and border… and other goodness … enjoy!

 

comment



note: you can only submit after you hit preview


nuff-respec is a weblog written by daniel bulli a senior web programmer in boston, ma.
more >

contact | resume | profile | twitter

recently :::

diversions :::

45+ Amazing Insect Shots in Photography
Insects are one of the most fascinating creatures on earth. There are more than 800, 000 species of insects in the world.
Grayscale color | Stroep Blog
This is how I create a grayscale color in actionscript 3.
Google Flash API
This is great ... google has made this easy ... stay tuned to see what i am working on ...
25 Free Mac Apps That Will Boost Your Productivity
There are many applications that can help you work faster and efficiently. Though, not many applications come cheap.
you still want more »