Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 responses), which you can easily click to insert.

This script was inspired by answers to this question on meta.

Thumbnail

Features

  1. Read your comment before you post it!

    Note that the dialog only inserts the text, it doesn't send the comment, nor does it flag anything; this is so that you can check the text before posting!

  2. Customize the texts

    Simply double click on a comment text or description in order to customize it. Hit the 'reset' button if you screw up. This customization is currently per-site. Note that the "Welcome to $SITENAME$" text is automagically inserted if the user is 'new' (member for less than a week), so you don't need to add that to your custom text (but you can if you want to, see '9' below).

    If you need more/less than the default 6 comments, just carry on reading...

  3. Quick user info

    The dialog also includes a mini-summary of the user's activity (because if they haven't been back in months, there's no point writing them a comment).

  4. Automatic notification of new versions

    The script will also notify you if a newer version is created.

  5. Import/export of custom comments

    This helps with transferring custom comments between sites. The export/import 'format' is also conveniently presented as markdown, so you can post it in an answer below, and let others benefit from your words of wisdom.

    Note that you can also use the Import to create an arbitrary number of comments (the default is 6). If there are too many, you can use the show/hide desc link to gain a bit of space.

  6. Remote source for comments

    If you get bored with copy/pasting your comments between sites and/or computers, you can use the 'remote' button to define a remote source for your comment texts. See here for more details.

  7. Differentiated comments for questions/answers

    If you prefix your comment title with [Q], it will be only displayed for questions ([A] for answers). Non-prefixed comments are displayed for both.

  8. [type here], [username] & [OP] (& $MYUSERID$)

    If the text [type here] is included in a comment, it will be automatically selected for completion when inserted. [username] will be replaced with the user's name (or just 'user' if nothing was found), and [OP] with the original poster's name (if found, else 'OP'). Also, $MYUSERID$ will be replaced with your user id for the current site.

  9. Customise welcome message

    The default message is "Welcome to $SITENAME$" - which is shown for any 1-week-old users. By clicking on the 'welcome' link at the bottom of the popup, you can opt to change this message, or leave it empty to show no messages at all. You can also 'force' the message for older users on a one-off basis. This is per-site.

    Screenshot

Installation, other info

Development of this app is being coordinated over on GitHub. Please see the relevant sections over there to review the source code, view the release notes, report bugs or add feature requests, or read the full documentation.

The app is available for installation:

You may also download the code and run the build process yourself to generate the userscript version as well as Chrome, Firefox and Opera extensions that you can install locally if you'd rather not use the store versions.

Note: Can be used in tandem with my other user script.

share|improve this question
    
+1+ for the great resource! It was my own answer to this meta I asked in WPSE. Thanks again for assembling this utterly useful tool! – brasofilo Jul 9 '12 at 10:39
    
@Benjol This broke again today. I think it has something to do with the new flagging system.. Maybe. – Seth Sep 12 '13 at 20:10
    
@Seth, on which site/browser? I just tried programmers, SO and here with FFx and it seems ok. – Benjol Sep 13 '13 at 4:48
    
Why isn't the Chrome extension hosted on WebStore? – Derek 朕會功夫 Dec 3 '13 at 2:58
3  
@Derek朕會功夫, because I resent the fact that Google are forcing me to pay to give something away. – Benjol Dec 3 '13 at 5:51
    
@Benjol - I can put extensions there for free actually, because I joined it (opened a webstore developer account) at the beginning. – Derek 朕會功夫 Dec 3 '13 at 7:56
    
@Derek朕會功夫, well it's open source, so you have my blessing if you want to invest the time to do it. Then post a link here (or update the text of this 'question'). – Benjol Dec 3 '13 at 8:19
    
@Benjol - I have packed it into an extension: chrome.google.com/webstore/detail/… :) – Derek 朕會功夫 Dec 3 '13 at 21:53
    
@Derek朕會功夫 awesome! Would you consider including a link back to here, rather than to git (or as well as to git)? That way people can get all the information necessary. Also: is this going to be 'auto-updating'? I'm guessing not, so you may have set yourself up for more work... :) – Benjol Dec 4 '13 at 5:37
    
@Derek朕會功夫, also, is there any chance you could give it the same version as the current one here (1.2.9)? That could avoid confusing people. – Benjol Dec 4 '13 at 5:48
    
@Benjol - Sure I've changed the version to 1.2.9 and modify the description so that it is showing both links. The extension won't be updated automatically unfortunately so it has to be done manually (basically it is just copying the script and paste it into the extension) and re-upload it. – Derek 朕會功夫 Dec 4 '13 at 8:04
    
@Benjol - One thing is that do you want to remove the updateCheck in your script? Since the extension will be updated automatically for the client and there's no need to display the "new version" message. – Derek 朕會功夫 Dec 4 '13 at 8:06
1  
@hexafraction, FYI we've moved to GitHub. – Benjol Mar 3 '14 at 9:58
1  
@MadaraUchiha, if you're interested, we've moved to GitHub as you suggested (though not quite gone the same file-splitting route as you envisaged) – Benjol Mar 3 '14 at 9:59
3  
Don't work for me with firefox and greasemonkey – Jorge B. Sep 22 '14 at 15:35

54 Answers 54

The following message breaks the script, apparently due to the $ in backticks:

###jQuery-$
Did you know that you only have to write `jQuery` in its long form once? By wrapping your code in `(function($) { .... })(jQuery);`, you can use `$` no matter if `noConflict` has been used or not.
share|improve this answer
    
Wow, nice catch! Weird, because it's stored ok (as you can see if you re-open import/export). I'll look into it. – Benjol Feb 24 '12 at 12:02
    
Did you know that you only have to write jQuery in its long form once? By wrapping your code in (function($) { .... })(jQuery);, you can use $ no matter if noConflict has been used or not. – Benjol Feb 24 '12 at 12:45

Is it possible that you could save the comments in a file so that when the script is updated I don't lose my custom comments?

share|improve this answer
1  
You shouldn't lose your comments when the script is updated - has that happened? But, to answer your question: hit the import/export button and copy/paste the text to 'somewhere safe'... – Benjol Dec 8 '11 at 14:48
    
@Benjol yes I do lose them every time :( – RolandiXor Dec 8 '11 at 15:21
    
I really don't understand how that can happen. If I look at the code, the only two places where I reset comment is if you hit the Reset button, or if the script doesn't find any comments there... Another thing you could try is installing the beta global-storage version (see last comments on my question above), this would mean you can 'push' your custom comments to global before updating, then 'pull' them down afterwards if they go missing. – Benjol Dec 9 '11 at 5:42
    
Strange... I don't lose my comments when I update. – Kit Menke Jan 9 '12 at 15:18
1  
Note that you can now save your comments to a file, read here. – Benjol Apr 11 '12 at 12:14

Can you please add a feature that allows you to type [username] (or something of the like) and the script inserts the user's name? I don't know how hard that would be, but I know you are already grabbing the user name. If at all possible, I would really appreciate this! Thanks so much for all your hard work on this script.

share|improve this answer
    
Hm, it's an idea. I'm not sure about the execution though. The problem is that the user name is retrieved asynchronously, so dynamically updating the descriptions as you see them in the popup would be... not hard, but work. Alternatively, I could do the replace on insertion, but that might confuse some people. Conclusion: I'm thinking about it. Right now. – Benjol Jul 3 '12 at 5:10
    
@Benjol Okay. NP Thanks! – daviesgeek Jul 4 '12 at 1:40
    
@Benjol Awesome! Haven't tried it out yet, but thanks!!! – daviesgeek Jul 6 '12 at 5:35

Could you add classifications/grouping for comments?

I'd like to group my comments into

  1. comments for question
  2. comments for answers
  3. Both

And only the relevant comments will show, when I click the auto-link.

share|improve this answer
    
Nice idea... could be a bit of a bummer to implement, and to work out the interface, but... I'll think about it. How do you see the edition/definition bit working? – Benjol Dec 1 '11 at 10:21
    
yeah that might be complex to make it user friendly. My first idea was something like : ### --> BOTH (current beginning of definiton), $$$ --> Answers, %%% --> Questions. – oers Dec 1 '11 at 10:27
    
Implemented, see my edited question for details. – Benjol Dec 1 '11 at 12:46
    
@Benjol if you click the import/export link you will only see the currently selected questions. And is the format [Q]###Text? – oers Dec 1 '11 at 13:12
    
@Benjol okay I did it wrong :D Format is ###[Q]Text :) The other way round just destroyed my settings ;). But if you click import/export the import/export window is only as large as the last box. Which may be very small, if no selectable Comment was displayed. – oers Dec 1 '11 at 13:18
    
whoops! Sorry. I only tested it by direct double-click edits. Didn't think to specify for import/export. I'll see what I can do about minimum height for import/export window... – Benjol Dec 1 '11 at 13:21

Bug report:

Prefixing entries with [A] no longer shows these entries when adding a comment to an accepted answer. Only entries without a [A] or [Q] prefix are shown on such posts currently.

For my canned-messages set, where each entry is has either a [A] or [Q] marker, that means nothing is shown at all for accepted answers.

share|improve this answer
    
I've got a fix for this, just waiting for feedback from Gilles so I can put that bug fix in the same version. – Benjol Jan 9 '13 at 6:47
    
@Benjol: Fantastic! Confirmed that 1.2.6 resolved this. – Martijn Pieters Jan 9 '13 at 16:40

(sort-of, you can now customise the welcome message)

Bug observed with 1.2.4 and 1.2.5:

On some sites, instead of having the automatically-extracted site name in the comments, I get the question title. For example:

Welcome to Is Category Theory useful for learning functional programming?! Please don't add "thanks" as answers. Invest some time in the site and you will gain sufficient privileges to upvote answers you like, which is the Is Category Theory useful for learning functional programming? way of saying thank you.

This happens on Computer Science and Travel but not on Stack Overflow or Security or Stack Apps, so my guess is that whatever you're scraping there is a bit different on beta sites.


By the way, I would prefer to see Stack Exchange there (without the site name), at least on the sites which don't have a distinct branding (i.e. perhaps excepting SO, SU, SF and AU). Sentences like “Welcome to Computer Science!”, “the Travel way of saying thank you”, … don't make much sense.

share|improve this answer
    
Yeah, weird, on that particular question I'm guessing (haven't checked the code) it's because the <TITLE> of the page doesn't include a tag. I'm not sure how I would distinguish the 'branded' from 'not branded' sites, but I see what you mean. Maybe I should just go for StackExchange everywhere... – Benjol Jan 9 '13 at 6:13
    
I don't have an account on Computer Science, but I did a console.log there and can't reproduce it. Have you got another script that's messing with the <TITLE>? – Benjol Jan 9 '13 at 6:26
    
@Benjol Ah, I see. I do have StackExchange Title Tag Remover. If you're scraping the page title, that would explain it. Consider this to be a feature request to put “Stack Exchange” everywhere — even when the scraping works, “the Unix & Linux way of saying thank you” or “Welcome to Mathematics!” rings poorly. – Gilles Jan 9 '13 at 10:48

The following message breaks stuff (results in HTML being inserted) etc.:

[**Please, don't use `mysql_*` functions in new code**](http://bit.ly/phpmsql). They are no longer maintained [and are officially deprecated](https://wiki.php.net/rfc/mysql_deprecation). See the [**red box**](http://j.mp/Te9zIL)? Learn about [*prepared statements*](http://j.mp/T9hLWi) instead, and use [PDO](http://php.net/pdo) or [MySQLi](http://php.net/mysqli) - [this article](http://j.mp/QEx8IB) will help you decide which. If you choose PDO, [here is a good tutorial](http://j.mp/PoWehJ).
share|improve this answer

(You can now override this if you don't like it)

Another bug: Every comment is prefixed with "Welcome to StackOverflow!" since recently. Doesn't seem to happen on all pages; http://stackoverflow.com/questions/9729546/jquery-script-being-executed-before-all-each-has-completed is one where it does happen though.

share|improve this answer
    
Note that the "Welcome to $SITENAME$" text is automagically inserted if the user is 'new' (member for less than a week), so you don't need to add that to your custom text. – Benjol Mar 16 '12 at 5:58
    
Would be great if that didn't happen if the welcome message plus the custom message exceeded the maximum length. – ThiefMaster Mar 16 '12 at 6:22
    
Goodness! I'd imagine that if you want any hope that the user will actually read your comment, you'd need to be well short of the max length... I'm currently toying with the idea of making that prefix configurable, so you may yet get your wish... – Benjol Mar 16 '12 at 6:48
    
thanks for the option to remove the welcome message, I used to remove manually everytime. It doesn't seem to be working correctly though - more specifically, edit the welcome message to none, save, reload & the the welcome message is still retained – Sathya Jan 20 '13 at 4:53

There should be a method to force the insertion of the Welcome message. This can be required because some new users might have and account for 2-3 weeks already but just now started to post questions or answers. They might have found SE, registered an account but then didn't return for a while. Often these people still are new to the site and a Welcome message is appropriate, especially if it got changed to include a link to a special Welcome meta page (which I did for my site TeX.SE).

share|improve this answer
    
Hm, that's not a bad idea. I'll see what I can do. There are quite a lot of requests about the Welcome message. Ideally I should be able to keep everyone happy. We shall see... – Benjol May 16 '12 at 21:36
    
this is done now. – Benjol Jan 9 '13 at 12:49
    
This was previously erroneously marked as completed. From V1.2.7 you now have a 'force' button in the Welcome popup. – Benjol Jan 22 '13 at 6:02

As posting setups was mentioned being useful, here is mine:

###[Q]App recommendation
Please note that recommendations like *Is there an app for X* are off-topic here (see [What topics can I ask about here?](http://$SITEURL$/help/on-topic) for details). For where your question might fit better, you might want to look into [Where can I ask questions that aren't Android Enthusiast questions?](http://meta.android.stackexchange.com/q/371/16575)

###[Q]Development question
This site is for users of Android, which means that questions about development/programming are off-topic here (see [What topics can I ask about here?](http://$SITEURL$/help/on-topic)). Development questions are on-topic on our sister site [Stack Overflow](http://stackoverflow.com/questions/tagged/android).

###[Q]More than one question asked
The question-and-answer format of this site works best if you put each question in a separate question post. Please edit your post down to one question, and create new posts to ask any further questions. You'll get better answers that way.

###[Q]OP providing facts in a comment
The best way to add additional information to your question is by editing it, with the **edit** button. It is better visible that way, and comments are mainly for secondary, temporary purposes. Comments are removed under a variety of circumstances. Anything important to your question should be in the question itself.

###[A]OP adding a new question as an answer
Remember this is a Q&A site - so keep on editing your question with new information - this section is for actual answers. If you have another question, please ask it by clicking the [Ask Question](http://$SITEURL$/questions/ask) button.

###[A]OP using an answer for further information
This is a question-and-answer site, not a forum. Please use the **Post answer** button only if you have a solution to the problem, so that other users can see your question is not yet answered. You can click **edit** on the question to add more information to it.

###[A]Answers just to say Thanks!
Please don't add "thanks" as answers. Invest some time in the site and you will gain sufficient [privileges](http://$SITEURL$/privileges) to upvote answers you like, which is the $SITENAME$ way of saying thank you.

###[A]Nothing but a URL (and isn't spam)
Whilst this may theoretically answer the question, [it would be preferable](http://meta.stackoverflow.com/q/8259) to include the essential parts of the answer here, and provide the link for reference.

###[A]Comments as an answer (new users)
Please don't add comments as answers. Invest some time in the site and you will gain sufficient [privileges](http://$SITEURL$/privileges) to upvote answers you like, or to add actual comments when seeking clarification of any issues.

###[A]Comments as an answer (experienced users)
Please don't add comments as answers. Use actual comments when seeking clarification of any issues.

###[A]Answer that is a question
If you have another question, please ask it by clicking the [Ask Question](http://$SITEURL$/questions/ask) button. Include a link to this question if it helps provide context.

###[A]Requests to OP for further information
This is really a comment, not an answer. With a bit more rep, [you will be able to post comments](http://$SITEURL$/privileges/comment). For the moment I've added the comment for you, and I'm flagging this post for deletion.

###[A]Another user adding a 'Me too!'
If you have a NEW question, please ask it by clicking the [Ask Question](http://$SITEURL$/questions/ask) button. If you have sufficient reputation, [you may upvote](http://$SITEURL$/privileges/vote-up) the question. Alternatively, "star" it as a favorite and you will be notified of any new answers.

Entries #1 & #2 are specific to Android Enthusiasts, but similar cases might exist on other stacks, too.

share|improve this answer

(I think)

marked as duplicate Dec 12 '13 at 16:36 UTC

This bug has been reported before and has already been heard. If those tags don't satisfy you, please don't ask the same question again.

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

'The previous bug is thankfully fixed, but...

When I import or write the comments, and click "save", the wrong titles are matched to the wrong comments, and some of them just lose their comments.

Also, the "A" and "Q" features do not work.

I'm using Chrome 30.0.1599.47 (Official Build 223717) beta-m, in case that matters.

###1
Please don't add "thanks" as answers. With just a bit more <s>money</s> reputation, you will gain sufficient [privileges](http://$SITEURL$/privileges) to upvote answers you like!!! You will also, then, be able to comment on the answers to say "+1! Thanks for the answer!" or something on the lines of that. Now, I'm just flagging this for deletion.  

###2
Whilst this may theoretically answer the question, [it would be preferable](http://meta.stackoverflow.com/q/8259) to include the essential parts of the answer here, and provide the link for reference.

###3
This is really a comment, not an answer. With a bit more    rep, [you will be able to post comments](http://$SITEURL$/privileges/comment). For the moment I've added the comment for you, and I'm flagging this post for deletion.

###4 
Please use the *Post answer* button only for actual answers. You should modify your original question to add additional information.

###5
If you have another question, please ask it by clicking the [Ask Question](http://$SITEURL$/questions/ask) button.

###6       
If you have a NEW question, please ask it by clicking the [Ask Question](http://$SITEURL$/questions/ask) button. If you have sufficient reputation, [you may upvote](http://$SITEURL$/privileges/vote-up) the question. Alternatively, "star" it as a favorite and you will be notified of any new answers.

###7
Please note that Homework questions are supposed to supposed to show more effort. For more details, please see the [Homework Policy](http://meta.physics.stackexchange.com/questions/714/how-do-i-ask-homework-questions-on-physics-stack-exchange).

###8
Please note that Non-mainstream questions are prohibited. Any instance of refuting currently accepted mainstream theories, such as General Relativity, or the Standard Model, is not allowed. Do not promote your own (or anybody else's, for that matter.) non-mainstream ideas. Anything which has not been published in a reputable journal is not mainstream. Physics is based on Mathematics. Popular Science is not real Physics. For more details, please see the [Non-mainstream Policy](http://meta.physics.stackexchange.com/questions/4538/is-non-mainstream-physics-appropriate-for-this-site). 

###9 
In future please reply to a user by using "@username", as I  have done here as an example. Else, they won't be notified. For example, to reply to me,  "@Dimension10", etc. 

###10    
You are asking for too many things in a question. You should ask each question as a separate question.

###11
Note that MathJax is supported here. Use it to render equations. If you are not familiar with MathJax, it is essentially LaTeX code (but it ***must*** be surrounded by `$` signs for inline equations and `$$` signs for other equations. E.g. `$$E=\sum_{j=1}mc^3$$` results in $$E=\sum_{j=1}mc^3$$ and `$E=\sum_{j=1}mc^3` results in $E=\sum_{j=1}mc^3$. For a documentation of LaTeX, see [LaTeX](http://tobi.oetiker.ch/lshort/lshort.pdf)..       

###12
 If you have enough reputation to participate in [Meta](meta.physics.stackexchange.com) (that is 5 rep), you can try formatting at the [Sandbox](http://meta.physics.stackexchange.com/questions/389/formatting-sandbox). However, MathJax isn't supported at Meta (only on the main site, which is this), yet. 

###13
You are expected to do a small search for the answer before asking questions here, as this way, it will be no effort on your part.         
share|improve this answer
    
Could you paste whatever it is you're trying to 'import' here in your answer? I can't reproduce the A & Q problem (though I admit I'm using Firefox) – Benjol Sep 23 '13 at 4:37
    
@Benjol: Ok, added it in. – dimensio1n0 Sep 23 '13 at 17:19
    
I'm sorry, but short of installing the beta of Chrome (which I don't really want to do), I don't seem to be able to help you (the current version seems to work ok for what you posted above). Ping me again once this version gets released (and if it still doesn't work). – Benjol Sep 24 '13 at 4:42
    
@Benjol Yes, I have installed the current version (1.2.9). – dimensio1n0 Sep 24 '13 at 5:18
    
Sorry, I meant the version of Chrome, not the extension :) – Benjol Sep 24 '13 at 9:44
    
I just retested, and actually got round to reading your comments. Sorry, but I downvoted because these are the kinds of comments which give the extension a bad name. – Benjol Dec 4 '13 at 5:52
    
@Benjol: No, the comments are nice, only the headings are angry. But ok, fixed. – dimensio1n0 Dec 4 '13 at 11:17
    
ok, that detail escaped me :) I still can't reproduce your problem though. Is it a variant of this one? – Benjol Dec 4 '13 at 11:24
    
@Benjol Hm, yes, I think that's the problem. I do have a tendency to add a lot of spaces. – dimensio1n0 Dec 4 '13 at 13:34
    
I've got a fix for that, coming soon... – Benjol Dec 4 '13 at 13:51

I would like to see some improvement to the "import/export" dialogue. Inserting any whitespace character (like a space) will result in something very undesirable. Example:

###Title 1
Text of comment 1

###Title 2
Text of comment 2

(note the space on the blank line) will, after clicking "save", turn into:

###Title 1
Text of comment 1

###Title 2

i.e. the space has replaced the text of my second comment (and the text has now vanished). It might also occur with multiple line breaks between two comments.

I got kind of frustrated when I lost most of my hand-crafted comments by this unexpected behaviour.

It is particularly nasty when editing one's comments in an editor (to avoid clicking outside the dialogue and losing all one's work) that uses CR+LF line endings -- the default for Windows.


Lastly, I'd like to have an easier way to add a new comment to my list -- this is currently only possible through the "import/export" dialogue, which can give rise to above drawbacks.

With that said, this script has saved me a lot of time, and I thank you for maintaining it!

share|improve this answer
    
To be precise, the bug should be fixed, but I haven't yet put any thought into the adding new comments request. – Benjol Feb 12 '14 at 8:15

The script doesn't work when sites are accessed via https. I believe you simply need to change

// @include http://*stackoverflow.com/questions*

to

// @include http*://*stackoverflow.com/questions*

I've changed this locally and it now works. I use the HTTPS Everywhere extension in Google Chrome so most sites I access are via https.

share|improve this answer
    
A pull request with this change has been submitted by @Izzy: github.com/Benjol/SE-AutoReviewComments/pull/1 – Caleb Feb 26 '14 at 22:42
    
"Early birds" can grab this along with the per_site_comment stuff from my feature branch (install link). – Izzy Feb 27 '14 at 0:23

Being active on multiple sites, I've had some special requirements. So I've made a fork based on v1.3.0, which includes the following additional features:

  • a variable $MYUSERID$ in the comments gets replaced by your userID on the current site
  • you can have site-specific messages

The latter is done by adding an (optional) Site: "<hostname>" part to the defaultMessages. In import/export, this shows as an additional line starting with §§§. Importing from the "original script" here still works (but obviously has no site-specifics), exports from my "fork" must have the §§§ lines removed to import them into the "original one".

It's not yet "heavily tested", but in use by at least 3 people. Feel free to drop me a note (comments to this answer, for example) for feedback/questions. I'd be glad to see my "enhancements" integrated with the "master" (also to profit from future updates). so feel free doing so :)

Current version of the code hides behind the link above (a pastebin).

share|improve this answer
    
Nice to see someone else getting involved with the heavy lifting :) That Pastebin link shows empty for me though. – Benjol Feb 24 '14 at 7:21
    
Yuck Is there any other place I could put it for you? I tried a few other pastebins, but they proved unreliable (e.g. cut off trailing `` and thus broke the script). I've put it to pastebin.com just now in the hope it stays ("expiration: never"). // Btw: I didn't play with the "remote location". But if that just wraps around the Import/Export, it should be fine as well. – Izzy Feb 24 '14 at 7:32
    
ok. Got it. Can't promise I'll be looking at it in the very near future, but at least I have it and can check it out some time. – Benjol Feb 24 '14 at 13:00
    
@Benjol Great, thanks! Would be glad to see it merged "back". If you got any questions, just ping me on chat (I'm usually logged in 24/7 at Android and Software-Recommendations). Ah, and you probably can ignore the different "default-answers", except for the "extended syntax" (optional Site: element, optional $MYUSERID$ placeholder). // As to the original PasteBin: Looks like I missed increasing "expiry" from "1day" to "forever" #) – Izzy Feb 24 '14 at 13:10
    
@Izzy I'm perfectly willing to do this for you, but it's frightfully easy. Just hit up the gist page, hit the fork link, then hit the "edit" button for your copy and use the web based editor to paste in your version of the file and save. Then post the link. Seriously you don't need to learn GIT to do this (even if you should do that anyway). – Caleb Feb 25 '14 at 10:22
1  
@Benjol In countless comments and chats (LOL), Caleb bombed me to create a Gist fork: AutoReviewComments - Pro-forma comments for SE (Izzy's fork). This should make it easier for you to merge as well – if you decide so, that is :) – Izzy Feb 25 '14 at 11:03
    
OK, I'm not sure whether I know how to merge that without you sending a pull request. @Caleb, if you're really motivated, there's a couple of other pending suggestions/requests: getting it working for chrome, and splitting into sub-files (i.e. moving from gist to Github proper)... :) – Benjol Feb 25 '14 at 11:10
    
OK, I can do it without a pull request. Looking now... – Benjol Feb 25 '14 at 11:16
    
@Benjol I don't know how to do that (I'm not used to Git). But Caleb already forked my fork, so he's probably coming back with a bunch of countrymen soon :) – Izzy Feb 25 '14 at 11:17
    
@Benjol Izzy is new to git, but you can merge changes the same way you would with any git repo. Gists are full repos so you can git remote add rematename <other gist url> then use the normal collection such as git pull to merge changes form other gists into your branch of choice. But I agree this userscript could benefit from being a normal repo instead of a gist, it's kind of outgrown itself. – Caleb Feb 25 '14 at 11:28
    
@Caleb, my problem is I've always had problems (network and my understanding) connecting to github, so most of what I've done has been copy/paste from the web interface. So merging is a challenge... – Benjol Feb 25 '14 at 11:36
    
@Benjol In that case, I'd recommend to 1) use a graphical compare tool (WinDiff on Win, FLDiff on *nix) to check the differences. Then you 2) will most likely end-up simply taking my copy while 3) replacing the defaultComments I've changed, and 4) be done :) – Izzy Feb 25 '14 at 11:41
    
@Benjol I've made a full repo with your gist history and am going to make a branch that includes Izzy's changes. – Caleb Feb 25 '14 at 11:45
    
@Caleb, ok, sounds good, I'll try from home later on maybe. – Benjol Feb 25 '14 at 11:56
    
Re-located (Caleb did a good job at re-organizing everything for easier handling). My feature branch now is here‌​, and whoever is interested in the "early bird" can install from here. Or wait until it gets merged upstream :) – Izzy Feb 27 '14 at 0:26

Here's an addition to the stock comments which I've found useful:

###Request for action on copyright violation
We don't have the authority to judge whether or not this constitutes a copyright
violation. All copyright violations should be reported to Stack Exchange, Inc. 
in the form of a DMCA takedown notice from a copyright holder per 
<a href="http://stackexchange.com/legal">site policy</a>.

Substitute 'users', 'moderators', or something else for 'We' if you like.

See also What should I do when I see copyright violations posted on Stack Overflow? and Should moderators enforce NDAs for software vendors?

The relevant section in /legal is section 15, I've requested deep links on that page here.

share|improve this answer
1  
Is that really a common review comment? I'm loath to touch the default 6. Most of my users have already customised, so they wouldn't see them anyway... – Benjol Dec 6 '11 at 18:07
    
It is for me and some other mods - Maybe not so much for normal users. I'll revise to suggest it as a possible addition to an existing set. – Kevin Vermeer Dec 6 '11 at 18:18
    
yeah, I prefer that. In fact it might be worth a question on meta - "proposed canned comment lists". I tried to start something like that here, but maybe it's not the best place. If people used the format proposed here, it would make importing/exporting easier. BTW, just in case your interested, there's a beta (or alpha) of a global storage version (see last comments on the question here) – Benjol Dec 6 '11 at 19:52
    
@Benjol - Oooh, global storage would be nice. Even nicer would be a method to sync between my laptop and my desktop. What if you allowed the user to set a URL to pull from, such as a Github head or uploaded file? – Kevin Vermeer Dec 6 '11 at 19:58
    
Well I guess that's what I'm working towards. To be honest I'm hoping that at some stage the team will pick this up, and then they global storage part becomes their problem! But your idea isn't bad... – Benjol Dec 7 '11 at 5:37
    
Some feedback on this comment thread: meta.stackoverflow.com/questions/117963/… – Benjol Jan 5 '12 at 14:33
    
your comment is status-completed :) – Benjol Jul 6 '12 at 5:19

It might be really nice if this could come pre-loaded with a in a few comments by default that will be global to all sites. There are already a couple good examples here.

Another useful one would be something about the accept rate.

Your accept rate is currently low, please review your existing questions. Please respond to any comments, please update to add more detail if possible, If there is correct answer, please accept, if any of the existing answers don't work please add a comment explaining why.

share|improve this answer

It would be great to be able to use this same functionality in the edit summary when making edits. Most of the edits I do fall into a small subset of "categories" and it pains me to have to put in the same summary over and over.

Adding a category (much like already exists for question-only or answer-only comments) would be a big help beyond just adding the "auto" link next to the edit summary input box.

To take it one step more, since edits may be for more than one thing at a time, a slightly different interface that is checkbox-based, rather than radio buttons would be ideal so that I could combine / chain the edits I've made.

In summary, here's what I am asking for (in order of priority / usefulness):

  1. Adding the dialog link to the Edit Summary input
  2. Adding a category for Edit Summaries
  3. Changing the behavior for edit summaries to allow for adding multiple "comments"
share|improve this answer
    
OK idea, but I feel that 2 & 3 go beyond the scope of what this script is for. Would 1 on its own be worth having? – Benjol Mar 29 '12 at 8:24
    
@Benjol - Yes, I think so. #1 is the core piece. 2 & 3 are just added bonuses. – cdeszaq Mar 29 '12 at 12:21
1  
I've created an issue on GitHub. No promises, but at least it's not lost. – Benjol Mar 3 '14 at 10:07

Can you add support for an Enter or Return keystroke to allow for insertion of the currently selected option? This would be really helpful! I have several custom comments and it can be a pain to scroll down to find the insert button.

share|improve this answer
    
Again, I do have to say: AMAZING script!!!! Thank you sooo much for making this available to all of the SE users!! – daviesgeek Oct 24 '12 at 5:51
    
Sorry, I just started trying to implement this, then noticed that (for me) it already works that way. Could you explain where/how it is not working for you? – Benjol Oct 25 '12 at 5:05
    
Really? I'll have to try it again and let you know. – daviesgeek Oct 26 '12 at 3:12
    
if you can do it soonish, I can push the next update. – Benjol Oct 26 '12 at 6:14
    
So sorry I didn't get back to you!! No, it doesn't work. – daviesgeek Nov 3 '12 at 6:04
    
What browser, what version (of the script), etc.? – Benjol Nov 5 '12 at 5:41
    
Chrome 23.0.1271.60 beta and 1.2.4 of the script. – daviesgeek Nov 5 '12 at 5:51
    
OK now I can reproduce, but for some reason I can't get any key handlers to work in Chrome. Nor can I work out how come Escape does seems to work to close the popup, when I can't find any code that should do it. This thing has developed a life of its own! – Benjol Nov 5 '12 at 8:58
    
Yes, Escape does work :-) but Enter doesn't....weird...LOL – daviesgeek Nov 6 '12 at 4:37

At the moment the Welcome message for new users is not displayed if the question was migrated from a different SE site and the user does has an account on the target site yet. The message should be inserted in this case.

share|improve this answer
    
A bit of an edge case, I'll bear it in mind. – Benjol May 16 '12 at 21:35
    
@Benjol: Yes, but happens as TeX.SE moderator from time to time. Some if-statement at the right place might do it. – Martin Scharrer May 16 '12 at 21:43

I am excitedly using the "much-requested override for the new user Welcome message." in V1.2.6, as one of those requesters.

The save function doesn't appear to be sticking. It works immediately, but when I come back later, it has returned to the default message.

(Chrome, Windows)

share|improve this answer
1  
Oddthinking, thanks for letting me know. Fixed (or should be!) in 1.2.7 – Benjol Jan 22 '13 at 6:03

Bug Report

I managed to install this with Tampermonkey on Google Chrome (Windows 7) along other scripts, except this script isn't working for me on Chrome (Firefox does work).

share|improve this answer
    
Sorry, no time to fix – Benjol Jul 22 '13 at 6:44
    
Works for me on both chrome stable and canary – PeeHaa Jul 24 '13 at 22:28
    
@Lucas, watch GitHub, there should be some progress on this front in the near future. – Benjol Mar 3 '14 at 10:05

I have the problem that whenever I change or add any comments, my changes are gone after restarting my Firefox and all comments are back to the default values.

Has anybody a hint what this could be caused by? I use FF19 on Ubuntu and Autocomments 1.2.8. I also wonder if the noscript addon of FF could have any influence but for the SX sites all scripts are allowed.

Any hints or ideas?

share|improve this answer
    
No idea. The script uses localstorage, have you got some add-on or extension which clears local storage every time you shutdown FFx? – Benjol Feb 26 '13 at 7:10

(sort of)

Google Chrome is now making it harder to install the script for security reasons.

Upon clicking on the install link, a warning pops up refusing to install it. There's a Learn more link, recommending you use Google's oh-so-convenient distribution mechanism.

(There is a workaround for the user hidden in the text, which I am about to try.)

share|improve this answer
    
Wonderful. They're going to force me to sign up for Google+, aren't they? Wasters. – Benjol Apr 15 '13 at 7:10
    
If that (understandably) bothers you, you could explain the clumsy workaround to people before they click the link. I managed to get it to work. – Oddthinking Apr 15 '13 at 7:34
    
Yeah, I'll settle for that solution for the moment... – Benjol Apr 15 '13 at 12:27

(I won't deploy just yet, I'd prefer to group this with other updates)

Mini suggestion: Open the update link in a new tab.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .