Skip to content

Instantly share code, notes, and snippets.

@the55
Created February 11, 2012 19:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save the55/1803611 to your computer and use it in GitHub Desktop.
Save the55/1803611 to your computer and use it in GitHub Desktop.
Flickr: setting lots of titles and descriptions
//
// if you're using safari, or chrome use the console at (option+cmd+c)
// if you're using firefox, you'll need firebug's console
//
for (var i=0; i < $$('.photo_title input').length; i++) {
$$('.photo_title input')[i].value = 'TITLE';
};
for (var i=0; i < $$('.photo_description textarea').length; i++) {
$$('.photo_description textarea')[i].value = 'DESCRIPTION';
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment