Skip to content

Instantly share code, notes, and snippets.

@AymaneHrouch
Last active February 10, 2026 04:03
Show Gist options
  • Select an option

  • Save AymaneHrouch/c29d7a00e7e68f39ed838610695c8d87 to your computer and use it in GitHub Desktop.

Select an option

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.
// 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);
@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.

@keeshond77
Copy link

great!

@Gualtiero
Copy link

I made a tool to facilitate this. Check out https://subtransfer.ploomberapp.io/

Feedback welcome!

@andrealufino
Copy link

@Gualtiero man, great work! I've just bought you a coffee! Thank you πŸ’ͺ🏻

@nunya-beezwax69
Copy link

Starts working, but after about 10 seconds I get hit with the 'too many requests' HTTP ERROR 429. I have literally thousands of subreddits broken over multiple links. Is there a way to slow down the rate of requests and I can leave it running all day?

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