Hacker News new | ask | show | jobs
by wizard_2 5585 days ago
syntax error, this should work;

    javascript:(function(){$('img').each(function(i,img){var $i = $(img), w = $i.width(), h = $i.height(); if ( w && h ){img.src = 'http://placekitten.com/'+w+'/'+h;}});})()