Skip to content

Instantly share code, notes, and snippets.

@topas
Last active June 21, 2019 15:48
Show Gist options
  • Save topas/447a7d0b9d25ae5b72f848684a35a621 to your computer and use it in GitHub Desktop.
Save topas/447a7d0b9d25ae5b72f848684a35a621 to your computer and use it in GitHub Desktop.
Flickr batch title and description setter ... just run it in browser's console
var title = "Photo title";
var description = "Photo description";
document.querySelectorAll('.together_description').forEach(elm => { elm.value = description; elm.dispatchEvent(new Event("change")) });
document.querySelectorAll('.together_title').forEach(elm => { elm.value = title; elm.dispatchEvent(new Event("change")) });
document.getElementById("batch_edit_together_form_save_button").scrollIntoView();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment