Here is a report of a user who cannot delete their own comments.

  • Using the full (not mobile) version of the web site
  • Using two different browsers (Firefox and Chrome) on Windows
  • Cannot see the on-hover icon which would allow them to delete their own comments
  • Yet can see the on-hover icons which allow them to upvote or flag other users' comments
  • 1
    That account is not the result of a merge with a different account? – rene Sep 8 '15 at 18:53
  • 1
    @rene That sounds like a good question, but SFAIK (I'm a volunteer moderator on that site) I don't know how to answer it, though I expect an SE employee would. It's happening even with recent comments, anyway. – ChrisW Sep 8 '15 at 18:59
  • 2
    Let's see if it's only design (i.e. missing icon) or actual server block. Please ask the user to use Chrome, browse to the site where he can't delete comments, click F12, go to Console tab, and paste this exact code: $.post("http://buddhism.stackexchange.com/posts/comments/18688/vote/10", {"fkey": $("#fkey").val()}); then press ENTER. This code should cause this comment to be deleted, and based on the result we'll know better how deep the bug goes. – Shadow Wizard Wearing Mask Sep 8 '15 at 19:08
  • NOTE: don't try it yourself, since you're a moderator there there's a good chance it will delete the comment as well. (but then you can undelete it) – Shadow Wizard Wearing Mask Sep 8 '15 at 19:10
  • We might as well create all kind of fancy scripts for mods to run though... don't be afraid, we can be trusted..... – rene Sep 8 '15 at 19:11
  • @ShadowWizard Thank you; I'll ask the user to do that. – ChrisW Sep 8 '15 at 19:12
  • @rene Shadow doesn't have a diamond. :-/ But that little script is using the web site's public API, so what could possibly go wrong? :-) – ChrisW Sep 8 '15 at 19:15
  • 1
    famous last words... – rene Sep 8 '15 at 19:16
  • @ChrisW no API here, just using direct command, which kind of mimics pressing the delete button. However, it's most likely possible to write script that will erase all comments on the site if run by moderator, since moderators get unlimited delete votes. – Shadow Wizard Wearing Mask Sep 8 '15 at 20:09
  • @ShadowWizard It looks like that script is posting a bit of JSON. The fact that it's to a very specific URL makes me think, "that looks legit". rene though has been trying to convince me that obeying you is foolish. Anyway I haven't run the command myself. – ChrisW Sep 8 '15 at 20:19
  • @ChrisW on meta I tend to troll a little bit more, the script is safe to run. – rene Sep 8 '15 at 21:03
  • 1
    No wait. I've got it. And the response is: XMLHttpRequest cannot load buddhism.stackexchange.com/posts/comments/18688/vote/10. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'meta.stackexchange.com' is therefore not allowed access. – user303011 Sep 9 '15 at 7:50
  • 1
    OK. It worked that time. The comment on buddhism.stackexchange.com/questions/11355/… is now gone. And what's more I am now seeing the delete icon when I mouseover it - not when I mouseover the comment per se (which was the instruction) but only when I mouseover the icon itself - this confusion may be the solution to the problem. Apologies for any inconvenience. Thanks for the help. – user303011 Sep 9 '15 at 10:43
  • 1
    I'm happy as things stand. @ShadowWizard can close the big report. – user303011 Sep 10 '15 at 9:45
  • 1
    I can't really close this by myself, I'm just an ordinary user. However I will flag this and ask to tag as status-norepro since this issue is not happening to anyone else. /cc @Jayarava. – Shadow Wizard Wearing Mask Sep 10 '15 at 10:21

In this comment, Shadow Wizard asks you to "click F12 and go to Console tab".

Using Chrome, after you press the F12 key, Chrome will display a "Developer tools" window, of which the top-right corner has some icons which looks like this:

enter image description here

If you click on the first of those icons (i.e. the one which is shaped like >_) that opens (at the bottom of the Developer tools window) a so-called "Console" window which looks like this:

enter image description here

Please copy and paste the specified text into that window:

enter image description here

... position the cursor after the text, press the Enter key to run that command, and report when you've done that. Thanks!

| improve this answer | |

You must log in to answer this question.

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