this post was submitted on 16 Nov 2023
10 points (77.8% liked)

SNOOcalypse - document, discuss, and promote the downfall of Reddit.

4672 readers
1 users here now

SNOOcalypse is closing down. If you wish to talk about Reddit, check out !reddit@lemm.ee, !reddit@lemmy.world and !RedditMigration@kbin.social.


This community welcomes anyone who wants to see Reddit gone. Nuke the Snoo!

When sharing links, please also share an archived version of the target of your link.

Rules:

  1. Follow lemmy.ml's global rules and code of conduct.
  2. Keep it on-topic.
  3. Don't promote illegal stuff here.
  4. Don't be stupid, noisy, obnoxious or obtuse (S.N.O.O.)
  5. Have fun, and enjoy the popcorn! ๐Ÿฟ

founded 1 year ago
MODERATORS
 

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 https://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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] EK13@lemmy.world 3 points 11 months ago (2 children)

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@lemmy.dbzer0.com 3 points 11 months ago (1 children)

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@lemmy.world 3 points 11 months ago

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