Kittenify for IE6

Kittenify! for IE6

Some enterprising chap came up with an excellent Javascript link to turn every image onto a webpage into kittens.

However, an important demographic – old women and people who’re too daft to upgrade their browser – were crucially missed.

A wave of my magic Javascript wand, some squeezing and optimization and now we have
a lovely bookmark for people who’re mad enough to still use IE6.

The Source Code:

javascript:(function(){d=null;f=function(b){d=b;var%20e=document.getElementsByTagName("img");
for(var%20c%20in%20e){e[c].src=d.items[Math.floor(Math.random()*(d.items.length))].media.m}};
function%20a(){var%20b=document.createElement("script");b.setAttribute("type","text/javascript");
b.setAttribute("src","http://api.flickr.com/services/feeds/photos_public.gne?tags=kitten&tagmode=any&format=json&jsoncallback=f");
document.getElementsByTagName("head")[0].appendChild(b)}d||a()})()
      

“Well worth it.”

The Bookmarklet

» » Right-click me and select Add To Favorites « «

Add it to your Favorites, drag it to your Bookmarks toolbar in a browser that doesn’t suck (not IE6.) Whatever.

Scrolling Credits:

Original Kittenify credit goes to Ben Scott. Portable Javascript minification via the YUI Compressor. No idea why I’ve spent so much time faffing with this.