Skip to content

Instantly share code, notes, and snippets.

@AymaneHrouch
Last active April 20, 2024 19:11
Show Gist options
  • Star 20 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save AymaneHrouch/c29d7a00e7e68f39ed838610695c8d87 to your computer and use it in GitHub Desktop.
Save AymaneHrouch/c29d7a00e7e68f39ed838610695c8d87 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 to two or three links
-Visit that link (or links) using 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 :)
*/
const sub = () => {
let btn = document.querySelector(".add.active");
if(btn) {
btn.click();
setTimeout('sub()', 500);
} else {
alert("You have subscribed to all the subreddits successfully");
return;
}
}
setTimeout('sub()', 500);
@casualkitten1
Copy link

Thanks for this! Still works in 2022.

@lord-jashin
Copy link

Thanks

@Acelogic
Copy link

Acelogic commented Jul 9, 2022

Still works :)

@betterthanyou155
Copy link

tysm! :)

@torrobinson
Copy link

Beautiful, thank you! Still working of this moment.

@reneroboter
Copy link

Still works :)

@luminoso
Copy link

Thank you!

@andrealufino
Copy link

Master 🙌🏻

@drelephant
Copy link

Legend!

@snowc0ne
Copy link

Very cool

@lucassilvas1
Copy link

I wrote a similar script and I get throttled really hard when I try to sub to profiles, i.e. r/u__username_. Anyone have a workaround for that? I can only sub to maybe a couple hundred of those subs in 24h, makes switching accounts take several days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment