4 ms·
javascript: void $('img').each(function(i,img) { var $i = $(img), w = $i.width(), h = $i.height(); if ( w && h ) img.src = 'http://placekitten.com/+w+/+h;} http
by dmethvin 16y ago
javascript: void $('img').each(function(i,img) { var $i = $(img), w = $i.width(), h = $i.height(); if ( w && h ) img.src = 'http://placekitten.com/+w+/+h;} http://placekitten.com/+w+/+h;});
Paste that in foxnews.com!
- lsemel 16y agoHah!
- deleted 16y ago[deleted]
- wizard_2 16y agosyntax 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;}});})()
- eclark 16y agohttp://www.reddit.com/r/politics/comments/fus7q/the_only_way_foxnewscom_can_be_tolerated_for_10/ http://www.reddit.com/r/politics/comments/fus7q/the_only_way...