A script to help you make a list and export all subreddits you joined. Made by Tim Visée, not me, I just found it while looking for an easy way to get that list.

  • sanjosanjo@kbin.social
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 year ago

    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()