Skip to content

Instantly share code, notes, and snippets.

@alexito4
Created October 15, 2019 09:28
Show Gist options
  • Save alexito4/bde90270ec5306611518341f3accd3ab to your computer and use it in GitHub Desktop.
Save alexito4/bde90270ec5306611518341f3accd3ab to your computer and use it in GitHub Desktop.
GitHub PR Mark ALL files as viewed
for (const checkbox of document.querySelectorAll('.js-reviewed-checkbox')) {
if (checkbox.attributes["data-ga-click"].value.includes("value:false")) {
checkbox.click();
}
}
@alexito4
Copy link
Author

javascript:(function(){ for (const checkbox of document.querySelectorAll('.js-reviewed-checkbox')) {
if (checkbox.attributes["data-ga-click"].value.includes("value:false")) {
checkbox.click();
}
} })();

@leewisestamp
Copy link

Thanks! Saved me tons of time.

@xosach
Copy link

xosach commented Nov 23, 2021

❤️

@fam0x
Copy link

fam0x commented Jun 29, 2022

Thanks a ton!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment