Skip to content

Instantly share code, notes, and snippets.

@zack317
Forked from AymaneHrouch/autosub_reddit.js
Created December 17, 2025 22:10
Show Gist options
  • Select an option

  • Save zack317/3ea4e7fa2106cc5321fbd93f27f0b51d to your computer and use it in GitHub Desktop.

Select an option

Save zack317/3ea4e7fa2106cc5321fbd93f27f0b51d to your computer and use it in GitHub Desktop.
Auto subscribe to a lot of subreddits after you move to a new account.
// Open the console by pressing F12 and then clicking the console tab
// then past the code bellow and press enter. that's it :)
function sub(){
i = 0;
if (i<document.querySelectorAll(".add.active").length) {
document.querySelectorAll(".add.active")[i].click()
}
i++;
setTimeout('sub()', 500);
}
setTimeout('sub()', 500);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment