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 :::