Questions tagged [comments]

Questions handling comments using the API. Or, posts of Scripts / Apps / Libraries that facilitate dealing with comments on Stack Exchange sites.

Filter by
Sorted by
Tagged with
465 votes
57 answers
21k views

AutoReviewComments - Pro-forma comments for SE

No more re-typing the same comments over and over! This script adds a little 'auto' link next to all comments boxes. When you click the link, you see a popup with 6 configurable auto-comments (canned ...
98 votes
6 answers
3k views

"Reply" links on comments

Screenshot About This user script adds a little "reply" link to each comment. Clicking this link will fetch the rest of the comments, if some of them were hidden show the "add comment&...
user avatar
  • 10.9k
81 votes
3 answers
2k views

Threaded comments

History June 6, 2012: Fixed an issue that can cause major problems with chat. December 17, 2013: Fix an incompatibility with the Winter Bash code. Screenshot Before: After: About Instead of ...
user avatar
  • 10.9k
70 votes
8 answers
2k views

SE Comment Link Helper

About This userscript automatically converts raw Stack Exchange question URLs into the form [title](link) before submitting comments by grabbing their titles from the API. This is similar to ...
user avatar
  • 4,666
56 votes
3 answers
2k views

SE Modifications -- Username autocomplete in comments, inline revision source, and utility links

Screenshot About This userscript adds four main features: Various utility links on posts and in the top bar Inline viewing of post revision source Markdown on the post history page Links on comment ...
user avatar
  • 4,666
47 votes
0 answers
3k views

Heat Detector - analysing comments to find heat

General Heat detector is a StackApp whose goal is to catch offensive, rude, snarky comments, and comments that leads to abusive content (offensive, spam posts, or previous offensive comments). It is ...
user avatar
30 votes
1 answer
946 views

Disable enter for submitting comments

About This user script disables the default behavior of the enter key submitting a comment. With this script installed, you must explicitly click the Add Comment button to submit your comment. ...
user avatar
29 votes
0 answers
892 views

Stack Exchange Notifications: inbox, achievements, score, improve text editor and lightbox

Install Chrome Firefox Edge Opera Note: you can install developer edtion (inclusive in google chrome) if download from https://github.com/brcontainer/stack-exchange-notifications/releases and ...
user avatar
27 votes
1 answer
663 views

Add keyboard shortcuts to comments

Question code is obsolete. But the answer code and the code linked in the comments still work. About This script adds Ctrl+B (bold), Ctrl+I (italic), Ctrl+K (code), and Ctrl+L (link) shortcuts to ...
user avatar
  • 1,051
22 votes
6 answers
678 views

Self-destructing comments

I've made a userscript that allows you to self-destruct comments that you've made. You can get it at Github. Get started install Tampermonkey, or Greasemonkey get an access token install the script ...
user avatar
  • 4,195
12 votes
0 answers
178 views

Get Comment markdown, copy comment code to clipboard

About: This userscript adds flyover buttons to every comment to fetch that comment's code (markdown). Reference this post, and this post on Meta Stack Overflow. Features: The markdown is paste-...
user avatar
  • 12.6k
12 votes
0 answers
265 views

Auto-Add A Comment When Closing

About Automatically adds a comment when closing a question, with the text taken directly from the close reason you chose, so that the OP can see why their question may be being downvoted, and improve ...
user avatar
11 votes
2 answers
272 views

Make your own custom "magic links" for comments!

There are loads of feature requests on Meta for adding specific 'magic links' to comments. (links that expand, eg. [edit] -> [edit](/posts/id/edit)). So I made a userscript that allows you to create ...
user avatar
  • 4,195
11 votes
0 answers
142 views

The field body_markdown is not returned for comments [duplicate]

Using the method questions-by-ids to get the comments on a particular question, I do not get body_markdown returned despite it being selected in the filter. Here is the test query to reproduce the ...
user avatar
9 votes
1 answer
124 views

Why is comment_count=1 (incorrectly) when this particular filter is used?

We're seeing that, when a particular filter we've created is used, the API will return "comment_count": 1 for questions with no comments. For a search for questions with no answers, ordered by ...
user avatar
9 votes
0 answers
338 views

Automated ROT13 spoiler comments

About Spoilers get used pretty heavily on Puzzling.SE, and people have taken to using rot13 in comments (and chat) since there's no official spoiler mark-up outside of questions/answers. That's ...
user avatar
  • 501
8 votes
2 answers
130 views

Activity Indicator - see if you participated in a Q&A at a glance

About Activity Indicator is a userscript that displays a, well, indicator and some useful stats about your interactions with a given post. Inspired by this feature request, upon opening a post, the ...
user avatar
7 votes
1 answer
70 views

User's Comments: returning 500 error?

It looks like when I try to get the comments of a user that has "a huge number" of comments, I get a 500 error. Jon Skeet's comments, 500 error: http://api.stackoverflow.com/1.0/users/22656/comments ...
user avatar
  • 225
7 votes
1 answer
173 views

QuickComment: comment shortcuts to cut down on tedium

QuickComment quick SE comments for quick SE people Description Tired of typing the same thing over and over again? Now, with QuickComment, you can type ";;linkonly" (for example) and have it expand ...
user avatar
  • 1,269
7 votes
0 answers
90 views

Comment Saver - Unposted comments are saved between page loads

Simply stores unposted comments (using HTML5 localStorage) between page loads, so that if you leave the page you don't lose your comment. Currently a bit hacky, but it works. User Script: https://...
user avatar
  • 1,349
6 votes
1 answer
127 views

Field "comment_count" is not always returned by API

I am making a request with a custom filter that includes the "comment_count" field of the question type. My custom filter is !RtdMEtslKF6Z()NqpDUFZ58R6twu-.4V48gn0furqA*7_BL1. However, when I'm ...
user avatar
  • 713
6 votes
1 answer
216 views

Bulk flag comments

About I often go through my previous questions on SO/SE and find a lot of them have long resolved discussions. Ideally, I should raise a post flag and say "all comments below are obsolete; please ...
user avatar
6 votes
0 answers
124 views

QuickComment2: Automatic keyboard-only comment snippets

This is a vastly improved version of QuickComment: comment shortcuts to cut down on tedium. See that post for more information. See the Github repo for instructions on how to install and use ...
user avatar
  • 1,269
5 votes
1 answer
143 views

I downvote because UI

An integration of the idownvotedbecau.se website I made a userscript which adds a simple popup whenever you are downvoting a question, which lets you choose from a set of reasons on why you did it. ...
user avatar
  • 159
5 votes
0 answers
122 views

SE Comment Preview - An attempt to add real-time previewing for comments

Screenshot About This script creates a new live preview directly beneath any comment you compose or edit. When writing a comment with a lot of formatting, especially one containing some ...
user avatar
5 votes
0 answers
116 views

Answerer Name comment highlighter [duplicate]

Update: This has been added to my Optional Features userscript - please go there for the latest version. After reading this, I really liked the idea, so I made a Userscript to highlight answerer's ...
user avatar
  • 4,195
5 votes
0 answers
110 views

Filter doesn't consistently return comment bodies

I've been trying to set up a filter I can use with /questions/{id}/answers/ (using the UI at this link), which returns the following fields: answer: answer_id body_markdown comments ...
user avatar
4 votes
1 answer
163 views

Request for self destructing comments

What would I like? I would like comments that can self destruct after a set amount of time. Why? I often add a comment that doesn't need to stay around, like saying thanks to a user, or telling them I ...
user avatar
  • 561
4 votes
1 answer
131 views

Comments have incorrect `can_flag` values for at least 2 different API routes

I am trying to see and show whether a comment on question/answer is flagged by the authenticated user. But whenever I use /questions/{ids}, can_flag is true irregardless of whether the user (me) can ...
user avatar
  • 269
4 votes
0 answers
113 views

Comment keyboard shortcuts

About This userscript adds keyboard shortcuts to StackExchange comments. The default ones are: Ctrl+B (bold), Ctrl+I (italic), Ctrl+K (code), and Ctrl+L (link). You can yourself extend this with more ...
user avatar
4 votes
0 answers
57 views

Magic Links Enhancer

This userscript adds a way to quickly link to posts, help pages, privileges and links across the Stack Exchange sites. It uses @M'vy's idea of having a basic format of [SITE:type:id], and works the ...
user avatar
  • 4,195
4 votes
0 answers
84 views

Early warning for new questions with problematic tags or titles

Leaves a temporary comment on new Stack Exchange questions with problematic tags or titles. Some of the issues detected by the bot: a non-descriptive title a vague tag used as the only tag all tags ...
user avatar
4 votes
0 answers
105 views

Comment Separator Fix

This fix is now included in the Stack Overflow Unofficial Patch (SOUP) v1.20.0 About We have this nicely formatted toolbar with all of the moderation tools we need below questions: So, why is it ...
user avatar
  • 903
3 votes
3 answers
93 views

Automatically add OP's name in comments on StackExchange sites

Automatically add OP's name in comments on StackExchange sites Converts [user] in a comment to be posted to the OP's username. Originally created to allow comment snippets with [user] included to be ...
user avatar
3 votes
2 answers
71 views

Sorting comments by votes doesn't return 0 score comments

I have a query: http://api.stackoverflow.com/1.0/users/16822/comments?sort=votes This doesn't return comments with no votes, setting min to 0 doesn't work. This query includes them all, but isn't ...
user avatar
  • 776
3 votes
1 answer
43 views

How do display names relate to at-mentions?

Display names seem to be able to use full-on Unicode, but this is not so for at-mentions (Comment-replies). At the very least, spaces are stripped when doing an at-mention for Test User; this would ...
user avatar
3 votes
1 answer
94 views

Comments in user timeline are returning Markdown

In users/{id}/timeline, the detail field for comment events is formatted with Markdown and not HTML. Is it normal? I saw in the question Comments are returning markdown that the API should return HTML ...
user avatar
  • 355
3 votes
1 answer
76 views

Retrieving comments received by a user

I want to retrieve all comments directed to a particular user (rather than comments posted by that user) within a particular time period (e.g. last 24 hours). I don't want just "mentions", which are ...
user avatar
  • 606
3 votes
1 answer
91 views

Methods that return comments document body and comments parameters but they do nothing

Methods that return comments document the "body" and "comments" parameters, but they have no effect on the results, which cannot include comments and always include the body. Specific methods: /...
user avatar
  • 369
3 votes
1 answer
155 views

Share short link to comment

1. Request It would be nice, if will be script for share short links to comments on Stack Exchange sites, not long links. 2. Justification I found out, that links to comments may be short. For ...
user avatar
3 votes
1 answer
61 views

Can I retrieve question comment count as part of a search query?

I'm looking for a comment_count property in the results of /search/advanced to get a count of comments under a question. Is there an undocumented q for /search/advanced that gives a comment_count ...
user avatar
  • 133
3 votes
0 answers
155 views

User script to auto flag NLN (no longer needed) comments

Screenshot About The user script uses multiple search keyword combinations via RegEx to catch NLN (no longer needed) comments and send them to the chat room. Currently, the script is running in this ...
user avatar
  • 294
3 votes
0 answers
151 views

Automate the process of flagging non constructive comments from User Supplied data

Warning While entering a comment ID, you should be careful because some comments may be removed with a single flag (if it already have some flags). Some comments may still constructive even if it ...
user avatar
  • 171
3 votes
0 answers
685 views

Expand all comments script

The following script for Tampermonkey (multi browser) or Greasemonkey (Firefox) automatically expands all comments which are normally hidden behind the "show ... more comments" link: The code is ...
user avatar
3 votes
0 answers
64 views

Regional 12-hour timestamps

This script is a modification of Kip's "Display absolute timestamps (in local time)"; I have his permission to post this. Most of the credit for the script goes to him. About This script ...
user avatar
2 votes
1 answer
53 views

/comments?fromdate is broken?

The following url should return 0 comments: http://api.stackoverflow.com/1.1/comments?fromdate=9999999999 Instead it returns all comments, not actually filtering by fromdate at all. It happens on ...
user avatar
2 votes
1 answer
216 views

Unable to post a comment using the interactive API documentation

I'm trying to to integrate the Stack Exchange API in my application. I'm trying the authentication but when I got the token and used it it gave a write_access issue. That issue was resolved when I ...
user avatar
2 votes
1 answer
91 views

Comment History Checker - See comment score and your deleted comments at a glance

Comment History Checker ( install ) (github) This is a userscript which saves all comments you post into a local database (IndexedDB). When you want to review them, go to your profile's ...
user avatar
2 votes
1 answer
62 views

Get everything touched by a user?

I'm trying to figure out the best way to compile all "post threads" (Questions and all related Answers and Comments) where a specific user owns any of the {Question, Answer or [a comment on either the ...
user avatar
2 votes
1 answer
42 views

The 'total' field of /comments result is showing up as 0.

Running the following query: http://api.stackoverflow.com/1.1/comments Yields: { "total": 0, "page": 1, "pagesize": 30, "comments": [ ... Notice that the total entry indicates there are ...
user avatar
  • 22.8k