Skip to content

Instantly share code, notes, and snippets.

@lukemartin
Last active October 13, 2015 22:58
Show Gist options
  • Save lukemartin/4268668 to your computer and use it in GitHub Desktop.
Save lukemartin/4268668 to your computer and use it in GitHub Desktop.
Need cats? Have kittify.
/* Highlight everything below, drag to bookmarks bar */
javascript:(function(b){var a=b.getElementsByTagName("img"),f=a.length,d,c,e;for(d=0;d<f;d++){a[d].src="http://placekitten.com/"+a[d].width+"/"+a[d].height;}})(document);
(function (document) {
var images = document.getElementsByTagName('img'),
length = images.length,
i,
w,
h;
for (i = 0; i < length; i++) {
images[i].src = 'http://placekitten.com/'+images[i].width+'/'+images[i].height;
}
})(document);
(function(b){var a=b.getElementsByTagName("img"),f=a.length,d,c,e;for(d=0;d<f;d++){a[d].src="http://placekitten.com/"+a[d].width+"/"+a[d].height;}})(document);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment