Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save richard-flosi/9e71a3808f78f7baac830d074e2b2c36 to your computer and use it in GitHub Desktop.
Save richard-flosi/9e71a3808f78f7baac830d074e2b2c36 to your computer and use it in GitHub Desktop.
Check all Viewed checkboxes on GitHub Pull Request
/* Run this in the JavaScript Console in your Browser on a GitHub Pull Request to mark all the files as Viewed */
while (true) {
document.querySelector("input[type=checkbox]:not([checked]).js-reviewed-checkbox").click();
await new Promise(r => setTimeout(r, 2000));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment