Questions tagged [comments]
Questions handling comments using the API. Or, posts of Scripts / Apps / Libraries that facilitate dealing with comments on Stack Exchange sites.
69 questions
3
votes
0
answers
38
views
Comment Image Upload - upload images directly from the comment box!
Screenshots
About
Comment Image Upload script allows one to upload images directly from the comment box: by dragging and dropping them, pasting them from other sources, or selecting them from the ...
2
votes
0
answers
61
views
Custom Staging Ground Comments
With the release of the Staging Ground on Stack Overflow, I want to share the userscripts I wrote for it during its Beta tests.
The Staging Ground offers some built-in comment templates but if you ...
11
votes
1
answer
212
views
Comment Templates Context Menu, an auto-comments user script
If you are tired of typing the same comments into Stack Exchange sites over and over, you can use this add-on to insert any of your frequently written comments with a couple clicks.
Installation
...
0
votes
1
answer
189
views
Getting 405 when trying to post a comment
I'm trying to post a comment to The API Sandbox, I did one using the interactive documentation, but when trying to use my own code, it doesn't work. Instead, I get status code 405 (Method not allowed)
...
13
votes
3
answers
284
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 ...
5
votes
0
answers
279
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 ...
2
votes
1
answer
154
views
How do I add a comment to a post through the Stack Exchange API?
I want to add an comment to a specific post so, how do I get its ID and how do I authorize it. I want it to done through the Stack Exchange API interface.
1
vote
0
answers
56
views
"edited" key always return false. even though it shows edited on site
CommentID: 1193255 On site Meta Stack Exchange
The Api returns edited as false
However if you see the comment itself, you can see it has been edited.
Is there something that I am missing here?
1
vote
0
answers
35
views
API returns flags options for election comments while flagging them isn't possible
When trying to retrieve the flag options on a comment, e.g. on the currently active one on Skeptics.SE (but it works for any election):
https://api.stackexchange.com/docs/comment-flag-options#id=...
3
votes
1
answer
246
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 ...
1
vote
1
answer
74
views
How can I the question detail page and add comments like the Stack Exchange app?
Can we get the list of data when clicking on a specific question and display the question detail page like the Stack Exchange app?
I can't find the API to get them so far, so I decided to display the ...
7
votes
1
answer
178
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.
...
2
votes
0
answers
222
views
StackExchange – Expand Hidden Comments
In principle that what Expand all comments script does, but with two major differences:
Scrolls the page back to the initial target of the corresponding link you selected (i.e. to question, question ...
2
votes
1
answer
150
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 ...
3
votes
0
answers
168
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 ...
17
votes
0
answers
280
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-...
2
votes
0
answers
49
views
CommentDeleter ColorMatcher™
About
Makes the "Delete" button on comments match the other comment links.
Created in response to this post on Meta SO.
Download
Get it on GitHub, or from here:
// ==UserScript==
// @name ...
1
vote
1
answer
165
views
Request for user script to change the comment delete button from the word "Delete" to the old gray X
A few hours ago, the system was changed to show the comment delete button as the word "Delete" rather than the gray X that it's been using for years. However, I find this a little intrusive and ...
3
votes
3
answers
97
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 ...
4
votes
0
answers
996
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 ...
5
votes
1
answer
259
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 ...
10
votes
0
answers
413
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 ...
4
votes
0
answers
134
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 ...
2
votes
1
answer
72
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 ...
3
votes
0
answers
74
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 ...
3
votes
1
answer
197
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 ...
4
votes
1
answer
154
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 ...
6
votes
1
answer
148
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 ...
52
votes
0
answers
4k
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 ...
3
votes
1
answer
67
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 ...
4
votes
0
answers
67
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 ...
11
votes
2
answers
354
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 ...
6
votes
0
answers
144
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 ...
4
votes
0
answers
115
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 ...
30
votes
0
answers
951
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 ...
23
votes
6
answers
732
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
...
4
votes
1
answer
178
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 ...
6
votes
0
answers
141
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 ...
8
votes
1
answer
139
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 ...
5
votes
0
answers
119
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 ...
3
votes
1
answer
49
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 ...
5
votes
0
answers
141
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
...
0
votes
0
answers
80
views
"error_id":500,"error_message":"this error has been logged","error_name":"internal_error"
I developed an application, user can give vote down or up to question or comments but when I send the request to the API of the stackexchenge the response it is not true and this back to me error ...
11
votes
0
answers
144
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 ...
1
vote
0
answers
214
views
Bypass character limits in comments
Screenshot
About
Complaints on meta were raised about the threshold of 15 chars for comments, and even though many people agree that it shouldn't be there, this request was status-declined.
Using ...
4
votes
0
answers
121
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 ...
7
votes
1
answer
231
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 ...
7
votes
0
answers
100
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://...
0
votes
1
answer
129
views
API v2.1 supports write access, but is anyone using it?
Over the weekend, I attended an NHS "Hackday" where we tried to solve a problem one of the junior doctors brought. We hacked together a stack exchange alternative for medical doctors to ask questions. ...
2
votes
0
answers
380
views
Auto-comment Close Reasons
Description
This script will automagically fill the comment box for you when you vote to close with the reason you are voting to close for! That way the user that asked the question can know what is ...