Created
December 26, 2019 05:32
-
-
Save navchandar/c2ca6c36b7eff09e22aee81e3aa568a6 to your computer and use it in GitHub Desktop.
Mini JS to subscribe to multiple sub reddits during account transfer
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
| function sleep(ms){ | |
| return new Promise(resolve=>setTimeout(resolve,ms)) | |
| }; | |
| async function join(){ | |
| var i = 0; | |
| for(i = 0; i < 100; i++){ | |
| document.getElementsByClassName('option active add login-required')[0].click(); | |
| await sleep(500); | |
| } | |
| }; | |
| join(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment