News for hackers. Stuff that matters.
Re:JQuery plugin dynamically changes your images to placehol... by armandososa on Tuesday March 01, 2011 @12:21AM (#2274394)
I'd want an extension that does exactly this, but only for ads.
Re:JQuery plugin dynamically changes your images to placehol... by britta on Tuesday March 01, 2011 @12:37AM (#2274429)
Check out Add-Art: http://add-art.org/ - "a free FireFox add-on which replaces advertising on websites with curated art images."
Re:JQuery plugin dynamically changes your images to placehol... by goo on Tuesday March 01, 2011 @01:31AM (#2274534)
Here's a chrome extension that lets you toggle kittenification on or off. (It's not blocking ads yet-- I'll get that done eventually) https://chrome.google.com/webstore/detail/fgppoekgokpnoigpci... code: https://github.com/gk777/Kittens-Everywhere
Re:JQuery plugin dynamically changes your images to placehol... by johnfn on Tuesday March 01, 2011 @03:18AM (#2274742)
Done. http://stanford.edu/~grantm/cats.html

It actually turns _all_ images into kittens, but I think it's an improvement. :-)

Re:JQuery plugin dynamically changes your images to placehol... by EgeBamyasi on Tuesday March 01, 2011 @08:53AM (#2275329)
That made my day.
Re:JQuery plugin dynamically changes your images to placehol... by gregschlom on Monday February 28, 2011 @10:01PM (#2274042)
Now, a bookmarklet would be really nice!

Just sayin'...

Re:JQuery plugin dynamically changes your images to placehol... by sisk on Monday February 28, 2011 @11:22PM (#2274265)
Here, this one will work without requiring jQuery:

  javascript:(function(){var a=document.getElementsByTagName('img'),i=a.length;while(b=a[--i]){b.setAttribute('src','http://placekitten.com/'+b.width+'/'+b.height);}})();
Re:JQuery plugin dynamically changes your images to placehol... by gregschlom on Tuesday March 01, 2011 @10:02AM (#2275608)
Thanks. Perfect match with http://ft.com and http://nytimes.com. Gives me a good laugh :)
Re:JQuery plugin dynamically changes your images to placehol... by dmethvin on Monday February 28, 2011 @10:07PM (#2274054)
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;});

Paste that in foxnews.com!

Re:JQuery plugin dynamically changes your images to placehol... by wizard_2 on Monday February 28, 2011 @10:20PM (#2274111)
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;}});})()
Re:JQuery plugin dynamically changes your images to placehol... by eclark on Monday February 28, 2011 @10:21PM (#2274114)
Re:JQuery plugin dynamically changes your images to placehol... by lsemel on Monday February 28, 2011 @10:14PM (#2274082)
Hah!
Re:JQuery plugin dynamically changes your images to placehol... by zacharypinter on Tuesday March 01, 2011 @02:18AM (#2274632)
Hah! The bookmarklet works perfectly on engadget.com.
Re:JQuery plugin dynamically changes your images to placehol... by joshmanders on Tuesday March 01, 2011 @01:15AM (#2274504)
I love it. I kittify every site I visit now.
Re:JQuery plugin dynamically changes your images to placehol... by joshes on Monday February 28, 2011 @10:03PM (#2274045)
Well that was a quick turnaround.
Re:JQuery plugin dynamically changes your images to placehol... by lsemel on Monday February 28, 2011 @10:10PM (#2274064)
It was a pretty simple plugin.
Re:JQuery plugin dynamically changes your images to placehol... by emehrkay on Monday February 28, 2011 @11:56PM (#2274331)
Re:JQuery plugin dynamically changes your images to placehol... by wiseleo on Wednesday March 02, 2011 @12:29AM (#2278580)
Oh this is good :)