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.
/*
Visit https://old.reddit.com/subreddits/ using your old account
Copy link address of "multireddit of your subscriptions"
it will give you a link address like this: https://old.reddit.com/r/[subreddit1+subreddit2...+subredditN]
Please note that if you have a lot of subreddits the link won't work because there's a limit to the link's length, you can simply split it by making two or three links
Log into your new account
Open the console by pressing F12 and then clicking the console tab
Past the code bellow and press enter. You're welcome :)
*/
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