Kittenify Bookmarklet

Internet getting you down? Tired of reading tales of doom and disaster? Ever wanted to cheer yourself up by looking at floofy kittins? Of course you have. And now you can! With this little bookmarkelet that replaces all images on the page with pictures of kittens.

How to use?

Easy, add this link to your bookmarks: Kittenify, go to the page you want to kittenify and click Kittenify! in your bookmarks.

If adding the link doesn't work try adding this to your bookmarks manually:

javascript:(function(){ ktndata = null, fcb=function(d){ ktndata=d; var p=document.getElementsByTagName('img'); for(var i in p){ p[i].width=p[i].width; p[i].height=p[i].height; p[i].src=d.items[Math.floor(Math.random()*(d.items.length))].media.m; } }; if(!ktndata){ var jp=document.createElement('script'); jp.setAttribute('type','text/javascript'); jp.setAttribute('src','http://api.flickr.com/services/feeds/photos_public.gne?tags=kitten&tagmode=any&format=json&jsoncallback=fcb'); document.getElementsByTagName('head')[0].appendChild(jp); } else{ fcb(ktndata); } })()

Here's a sample image for you to kittenify:

Sample image

Technical dullness