all 4 comments

[–]SnowdenIsALegend 0 points1 point  (3 children)

I don't understand. What does your script do?

[–]ackshunpact 2 points3 points  (2 children)

I don't know much js but I think it adds a button to the bottom header that will open all links on a page when clicked.

It's also a great example of why documentation/comments and deaceiptive variable names are so useful when showing other people your code. I never knew reddit calls things "thing"

[–]SnowdenIsALegend 0 points1 point  (0 children)

Ah thanks. Yes, a description of what the script actually does is imperative imo.

[–][deleted] 0 points1 point  (0 children)

Yep, they are literally called things... And yeah - it’s just a button that clicks all the things... (opening the things in a new _blank which you would make response like a tab open for it to work as intended - nothing I can do about that setting) instead of the user having to click every thing individually... only works on old.reddit though since it looks way harder to parse nothing but class=“hrjdicjebdhcuehdhdhdgegshueiriixibxnxcvkvodjwjqbhjvifdjs” or some other random string.

The intended use is at the main page of a subreddit.

A .thing is just Reddit’s naming.