Last active
August 25, 2025 22:52
-
-
Save ssv445/6ebefcf436ae105f321e72ad12e20d2a to your computer and use it in GitHub Desktop.
Twitter Interest List Reset Script (One Liner)
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
| const checkboxes = document.querySelectorAll('input[type=checkbox]'); | |
| let index = 0; | |
| (function uncheckNext() { if (index >= checkboxes.length) return; try { if (checkboxes[index].checked) { checkboxes[index].click(); console.log(`Unchecked checkbox at index ${index}`); } else { console.log(`Checkbox at index ${index} is already unchecked`); } index++; setTimeout(uncheckNext, 1000); } catch (error) { console.error('Error while unchecking checkbox:', error); setTimeout(uncheckNext, 5000); } })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment