Skip to content

Instantly share code, notes, and snippets.

@andymason
Created March 10, 2016 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andymason/f2d366e982ac9d7b5198 to your computer and use it in GitHub Desktop.
Save andymason/f2d366e982ac9d7b5198 to your computer and use it in GitHub Desktop.
Grab large image SRC URLs using dev tools.
var imgs = Array.prototype.map.call(document.images, function(img){ return img.src; }).filter(function(src) { return src && /tumblr_/.test(src); });
var bigImgs = imgs.map(function( img ) { return img.replace(/_\d{3,4}/, '_1280',i); });
copy(bigImgs.join('\n'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment