Last active
December 9, 2024 16:45
-
-
Save vncsna/9767dd85a9a5a9f21dc14ea6d7f41717 to your computer and use it in GitHub Desktop.
unselect_pull_request_files.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Unselect all | |
document.getElementsByName("viewed").forEach(ch => {if(ch.checked) {ch.click()}}) | |
// Select some with "key" | |
document.getElementsByName("viewed").forEach(ch => { if (!ch.checked && ch.id.includes("key")) { ch.click(); } }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment