470

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:

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.

Please report new issues or feature requests on our issue tracker!

23
  • Why isn't the Chrome extension hosted on WebStore? Commented Dec 3, 2013 at 2:58
  • 8
    @Derek朕會功夫, because I resent the fact that Google are forcing me to pay to give something away.
    – Benjol
    Commented Dec 3, 2013 at 5:51
  • @Benjol - I have packed it into an extension: chrome.google.com/webstore/detail/… :) Commented Dec 3, 2013 at 21:53
  • 1
    How do I use this script to send an @message to the OP? Could you make this script automatically replace the spaces in OP's name when using @[OP] or @[username] anywhere in the prefilled comments?
    – joeytje50
    Commented Jan 27, 2014 at 3:54
  • 1
    @joeytje50. @[OP] works, but if they've got spaces in their names, you'll just have to make do, I'm afraid. Or hack the script yourself a bit.
    – Benjol
    Commented Jan 27, 2014 at 6:57
  • This app is amazing! One thing I'd like to try is to have an auto link (similar to the $SITEURL$ shortcut) to get the link to edit a post (to suggest new users to use the edit button). Is it possible to do this?
    – Edlothiad
    Commented Feb 16, 2017 at 14:10
  • @Edlothiad, I don't see exactly how, to be honest (especially if it has to be able to handle questions & answers)
    – Benjol
    Commented Feb 17, 2017 at 8:27
  • I dunno what broke, but for Stack Overflow, it's saying "Welcome to Where Developers Learn, Share, & Build Careers!" i.sstatic.net/6aldX.png :-D Commented Feb 3, 2018 at 8:40
  • @BhargavRao, click on the Welcome link at the bottom, I think you can adjust your welcome message there. This should only appear for new users, I think.
    – Benjol
    Commented Feb 8, 2018 at 14:05
  • @Benjol, Yup, I adjusted that. It used to say "Welcome to Stack Overflow" earlier. I think this is related to why it's picking up that message automatically - meta.stackoverflow.com/questions/351540/… Commented Feb 9, 2018 at 1:19
  • This question is being discussed here. Commented Sep 4, 2018 at 18:42
  • @BrockAdams I don't think that the section you added does much good, because I filed an issue there at the GitHub link only to be told that the script is no longer being maintained.
    – gparyani
    Commented Sep 30, 2018 at 6:52
  • @gparyani, provide a link. The code was just updated 10 days ago. At first glance it looks like it's being maintained at least somewhat. Commented Sep 30, 2018 at 7:57
  • 2
    IIRC There used to be a Firefox addon, but we gave up chasing after the moving goalposts.
    – Benjol
    Commented Feb 15, 2019 at 10:43
  • 1
    @41686d6564standsw.Palestine, I - and the other people who maintained it - got older. There's an unattended git repo here: github.com/Benjol/SE-AutoReviewComments
    – Benjol
    Commented Oct 28, 2022 at 7:30

57 Answers 57

1
2
1

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.

2
  • 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
    Commented Jul 3, 2012 at 5:10
  • @Benjol Awesome! Haven't tried it out yet, but thanks!!!
    – daviesgeek
    Commented Jul 6, 2012 at 5:35
1

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.

6
  • 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
    Commented Dec 1, 2011 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
    Commented Dec 1, 2011 at 10:27
  • Implemented, see my edited question for details.
    – Benjol
    Commented Dec 1, 2011 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
    Commented Dec 1, 2011 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
    Commented Dec 1, 2011 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
    Commented Dec 1, 2011 at 13:21
1

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.

2
  • 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
    Commented Jan 9, 2013 at 6:47
  • @Benjol: Fantastic! Confirmed that 1.2.6 resolved this. Commented Jan 9, 2013 at 16:40
1

(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.

3
  • 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
    Commented Jan 9, 2013 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
    Commented Jan 9, 2013 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. Commented Jan 9, 2013 at 10:48
1

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).
1

(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; https://stackoverflow.com/questions/9729546/jquery-script-being-executed-before-all-each-has-completed is one where it does happen though.

4
  • 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
    Commented Mar 16, 2012 at 5:58
  • Would be great if that didn't happen if the welcome message plus the custom message exceeded the maximum length. Commented Mar 16, 2012 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
    Commented Mar 16, 2012 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 Commented Jan 20, 2013 at 4:53
1

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).

0
1

Feature Request

Have a selector that is similar to [OP] but it would select the poster of the answerer instead of the question. This would obviously only apply to comments on answers. It could look something like

[OAP] // stands for "Original Answer Poster"
[AP]  // stands for "Answer Poster"
2
  • [username] should work for that (except on community wiki questions like this one).
    – Benjol
    Commented Apr 30, 2013 at 5:21
  • I totally don't understand your edit, did you mistake this answer for something else?
    – Benjol
    Commented Jun 26, 2013 at 7:34
1

(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.         
9
  • 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
    Commented Sep 23, 2013 at 4:37
  • @Benjol: Ok, added it in.
    – user21593
    Commented Sep 23, 2013 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
    Commented Sep 24, 2013 at 4:42
  • @Benjol Yes, I have installed the current version (1.2.9).
    – user21593
    Commented Sep 24, 2013 at 5:18
  • Sorry, I meant the version of Chrome, not the extension :)
    – Benjol
    Commented Sep 24, 2013 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
    Commented Dec 4, 2013 at 5:52
  • @Benjol: No, the comments are nice, only the headings are angry. But ok, fixed.
    – user21593
    Commented Dec 4, 2013 at 11:17
  • ok, that detail escaped me :) I still can't reproduce your problem though. Is it a variant of this one?
    – Benjol
    Commented Dec 4, 2013 at 11:24
  • @Benjol Hm, yes, I think that's the problem. I do have a tendency to add a lot of spaces.
    – user21593
    Commented Dec 4, 2013 at 13:34
1

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!

1
  • To be precise, the bug should be fixed, but I haven't yet put any thought into the adding new comments request.
    – Benjol
    Commented Feb 12, 2014 at 8:15
1

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.

2
1

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).

15
  • Nice to see someone else getting involved with the heavy lifting :) That Pastebin link shows empty for me though.
    – Benjol
    Commented Feb 24, 2014 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
    Commented Feb 24, 2014 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
    Commented Feb 24, 2014 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
    Commented Feb 24, 2014 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
    Commented Feb 25, 2014 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
    Commented Feb 25, 2014 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
    Commented Feb 25, 2014 at 11:10
  • OK, I can do it without a pull request. Looking now...
    – Benjol
    Commented Feb 25, 2014 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
    Commented Feb 25, 2014 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
    Commented Feb 25, 2014 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
    Commented Feb 25, 2014 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
    Commented Feb 25, 2014 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
    Commented Feb 25, 2014 at 11:45
  • @Caleb, ok, sounds good, I'll try from home later on maybe.
    – Benjol
    Commented Feb 25, 2014 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
    Commented Feb 27, 2014 at 0:26
1

It seems like it isn't compatible with the new review system.

enter image description here

3
  • By the look of things, the question/answers are loaded dynamically, after the user script has been 'run'... I'll see what I can do...
    – Benjol
    Commented Jul 17, 2012 at 5:31
  • @Benjol Oh, it's already completed :D Cheers mate! Commented Jul 17, 2012 at 9:21
  • The problem is back.
    – user21593
    Commented Jul 27, 2013 at 4:18
1

There appears to be a bug with the [edit] magic link.

Using this text:

###Question needs more information
We need more information to answer
your question. Please [edit] your post and add details as requested by
the community. It will be closed for now, but don't worry - once you
have improved the question flag a moderator and it can be reopened.
See [How do I ask questions here?](http://$SITEURL$/faq#howtoask) for
general guidelines.

Gives a broken preview:

enter image description here

The comment still inserts OK however.

1
  • Well spotted! Fixed. It was a regex...
    – Benjol
    Commented Jul 21, 2011 at 5:17
1

Stack Exchange just switched all sites from HTTP to HTTPS, and now none of my saved messages are showing up. Is there a way to migrate all the saved comments from the HTTP URLs to HTTPS?

2
  • Arraghg! That's really a bummer. Do you have a github login? You should add an issue here:github.com/Benjol/SE-AutoReviewComments and we'll see what we can do...
    – Benjol
    Commented May 23, 2017 at 4:52
  • 1
    Issue #134 open.
    – Barmar
    Commented May 23, 2017 at 5:14
1

Somehow, it doesn't show the "auto" link any more here... re-installed already. FF 4.0.1 using latest version of Greasemonkey.

4
  • That's a shame. I can reproduce, looking for bug/fix now. Can't reproduce in Chrome, so it looks like it's a firefox/gm thing, not a change in SE markup...
    – Benjol
    Commented May 11, 2011 at 4:45
  • OK, I've tracked something down, but no idea what the root cause is. If you add an alert('anything'); at line 414 (before adding handlers to click on the comment links, it works, as long as you don't dismiss the alert immediately. Must be some kind of timing issue. If anyone has any ideas...
    – Benjol
    Commented May 11, 2011 at 5:31
  • In full.js, this looks like the guilty candidate: $("a[id^='comments-link-']").unbind("click")
    – Benjol
    Commented May 11, 2011 at 5:42
  • 1
    Fixed this in V1.1.0
    – Benjol
    Commented May 11, 2011 at 7:45
1

One of the standard comments reads

If you have a NEW question, please ask it by clicking the Ask Question button. If you have sufficient reputation, you may upvote the question. Alternatively, "star" it as a favorite and you will be notified of any new answers.

The new Follow Questions feature is better suited for this kind of "me too" posts than favoriting, since it generates inbox notifications. Can this standard comment be adjusted to mention the follow feature instead?

0

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.

0
0

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.

9
  • Again, I do have to say: AMAZING script!!!! Thank you sooo much for making this available to all of the SE users!!
    – daviesgeek
    Commented Oct 24, 2012 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
    Commented Oct 25, 2012 at 5:05
  • Really? I'll have to try it again and let you know.
    – daviesgeek
    Commented Oct 26, 2012 at 3:12
  • if you can do it soonish, I can push the next update.
    – Benjol
    Commented Oct 26, 2012 at 6:14
  • So sorry I didn't get back to you!! No, it doesn't work.
    – daviesgeek
    Commented Nov 3, 2012 at 6:04
  • What browser, what version (of the script), etc.?
    – Benjol
    Commented Nov 5, 2012 at 5:41
  • Chrome 23.0.1271.60 beta and 1.2.4 of the script.
    – daviesgeek
    Commented Nov 5, 2012 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
    Commented Nov 5, 2012 at 8:58
  • Yes, Escape does work :-) but Enter doesn't....weird...LOL
    – daviesgeek
    Commented Nov 6, 2012 at 4:37
0

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).

3
  • Sorry, no time to fix
    – Benjol
    Commented Jul 22, 2013 at 6:44
  • Works for me on both chrome stable and canary
    – PeeHaa
    Commented Jul 24, 2013 at 22:28
  • @Lucas, watch GitHub, there should be some progress on this front in the near future.
    – Benjol
    Commented Mar 3, 2014 at 10:05
0

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"
3
  • 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
    Commented Mar 29, 2012 at 8:24
  • @Benjol - Yes, I think so. #1 is the core piece. 2 & 3 are just added bonuses.
    – cdeszaq
    Commented Mar 29, 2012 at 12:21
  • 1
    I've created an issue on GitHub. No promises, but at least it's not lost.
    – Benjol
    Commented Mar 3, 2014 at 10:07
0

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.

7
  • 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
    Commented Dec 6, 2011 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. Commented Dec 6, 2011 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
    Commented Dec 6, 2011 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? Commented Dec 6, 2011 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
    Commented Dec 7, 2011 at 5:37
  • Some feedback on this comment thread: meta.stackoverflow.com/questions/117963/…
    – Benjol
    Commented Jan 5, 2012 at 14:33
  • your comment is status-completed :)
    – Benjol
    Commented Jul 6, 2012 at 5:19
0

(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.

0

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?

1
  • No idea. The script uses localstorage, have you got some add-on or extension which clears local storage every time you shutdown FFx?
    – Benjol
    Commented Feb 26, 2013 at 7:10
0

(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.)

3
  • Wonderful. They're going to force me to sign up for Google+, aren't they? Wasters.
    – Benjol
    Commented Apr 15, 2013 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. Commented Apr 15, 2013 at 7:34
  • Yeah, I'll settle for that solution for the moment...
    – Benjol
    Commented Apr 15, 2013 at 12:27
0

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)

1
  • 1
    Oddthinking, thanks for letting me know. Fixed (or should be!) in 1.2.7
    – Benjol
    Commented Jan 22, 2013 at 6:03
0

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.

2
  • A bit of an edge case, I'll bear it in mind.
    – Benjol
    Commented May 16, 2012 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. Commented May 16, 2012 at 21:43
1
2

You must log in to answer this question.

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