this post was submitted on 21 Jun 2023
25 points (100.0% liked)
Reddit Migration
16 readers
2 users here now
### About Community Tracking and helping #redditmigration to Kbin and the Fediverse. Say hello to the decentralized and open future. To see latest reeddit blackout info, see here: https://reddark.untone.uk/
founded 1 year ago
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
In Chrome you don't even need to open the developer console. To get a comma separated list, just go to:
https://www.reddit.com/subreddits
Then paste this in the address bar:
javascript:$('body').replaceWith('<body>'+$('.subscription-box').find('li').find('a.title').map((_, d) => $(d).text()).get().join("\",\"")+'</body>');javascript.void()
The trick is that when you first paste it, the leading "javascript:" gets stripped off. So you have to type it in again.
This will give a list in the browser:
javascript:$('body').replaceWith('<body>'+$('.subscription-box').find('li').find('a.title').map((_, d) => $(d).text()).get().join("<br>")+'</body>');javascript.void()
That is awesome. I didn't know you could do stuff like that in Chrome. Thank you!