Skip to content

Instantly share code, notes, and snippets.

@ivantsov
Created December 5, 2016 18:56
Show Gist options
  • Save ivantsov/8bee915590c81916a60f89919647fa20 to your computer and use it in GitHub Desktop.
Save ivantsov/8bee915590c81916a60f89919647fa20 to your computer and use it in GitHub Desktop.
document.querySelectorAll('.item-word-progress').forEach(item => {
// show "Reset" button
item.click();
// click "Reset button"
document.querySelector('[data-tooltip="Reset the word status. It will show up during all the training sessions."]').click();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment