Tool to copy Reddit comment chains

So I was reading this post and decided to make the tool described, as a userscript (I credit ChatGPT with doing most of the work, which went pretty quickly). To use it, install a compatible userscript browser extension such as violentmonkey.github.io , then press install on the linked page. Reddit comments should now have a ‘copy-context’ button that will put the comment chain in your clipboard. I made it for old.reddit so probably won’t work with the redesign. Another limitation is that it will only work to copy what is on the current page, so if the comment chain is too deep it’s not going to get all of it.

Any feedback is welcome. Also if someone who can read javascript wants to give it a once-over and confirm for people that it isn’t malicious that would be cool too.

Blaze,
@Blaze@discuss.tchncs.de avatar

Thanks for sharing!

EK13,

I don’t mean to be rude since this seems like a good script and it’s really cool that you were able to get ChatGPT to help. I just find the idea of people writing code they don’t understand using an LLM, publishing it, and then expecting someone else to check that it’s safe a little bit troubling. Credit to you, you’ve been transparent about that being the case but it got me thinking about other developers who might not be so upfront.

chicken,

That isn’t actually what I meant by that. I am a programmer, I fully understand the code and know what it does, and can personally attest that it is safe.

What I meant is that people might not trust me to not be trying to trick them into running malware, so I welcome any scrutiny.

EK13,

Oh I see, that makes sense. Sorry that I interpreted it differently based on the post!

TheAnonymouseJoker,
@TheAnonymouseJoker@lemmy.ml avatar

Unneeded atrocity.

chicken,

What don’t you like about it?

TheAnonymouseJoker,
@TheAnonymouseJoker@lemmy.ml avatar

The part about Reddit comments migrating here. That is bloat and garbage. I do not want hundreds of choochoo train jokes and cringe comment trains here.

chicken,

That’s fair, but I think the post that inspired this made a good point that there are many Reddit comment chains with actually useful information that can’t be found elsewhere. This is a manual tool, not a bot, and I think it’s fair to trust that Lemmy users would use it to specifically share the actually good stuff. For people who really want to repost cringe, there’s already the popular option of Twitter screenshots.

TheAnonymouseJoker,
@TheAnonymouseJoker@lemmy.ml avatar

Yeah that’s good that you understand what idiots can do with this tool. Not being automated is helpful, and those guest blog comments could be curated that way.

troyunrau,
@troyunrau@lemmy.ca avatar

Gross. Leave it there. Rebuild here from grassroots.

lvxferre,
@lvxferre@lemmy.ml avatar

I can understand your view - Reddit has piles of garbage that is best forgotten, and we should be carving our own space here.

However, there’s still good content there, that still makes people to visit that shithole. Hand-picking it and copying it to Lemmy is, IMO, a good way to make people rely less on Reddit. And OP’s tool simply make this a bit more convenient.

lvxferre,
@lvxferre@lemmy.ml avatar

That’s amazing. Pinging the OP of that thread: @Haui

I’m going to test this out tomorrow!

Haui,
@Haui@discuss.tchncs.de avatar

Amazing indeed! Thanks a lot for the ping. I switched instances in between. Gonna ping myself @haui_lemmy

  • All
  • Subscribed
  • Moderated
  • Favorites
  • snoocalypse@lemmy.ml
  • ethstaker
  • DreamBathrooms
  • Durango
  • InstantRegret
  • mdbf
  • magazineikmin
  • everett
  • thenastyranch
  • Youngstown
  • slotface
  • cisconetworking
  • kavyap
  • normalnudes
  • ngwrru68w68
  • JUstTest
  • GTA5RPClips
  • osvaldo12
  • tacticalgear
  • khanakhh
  • rosin
  • modclub
  • anitta
  • tester
  • Leos
  • cubers
  • megavids
  • provamag3
  • lostlight
  • All magazines