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 delete". However, quite often there are 20 comments, out of which - say - only comments 1, 2, 3, 5, 8, and 13 are obsolete. In such a case, I've to manually flag each of them as no longer needed.

This userscript helps to flag comments in bulk. Screenshot:

enter image description here

Direct install link and view source

Last updated: 22nd Dec 2019


Do whatever you wish to do, just don't sell this for money (but may use it in a commercial software's code) or state that you made it yourself. Do post here an answer if you do something cool with this :D


Post bugs or feature requests as answers below!

  • The script broke with the new UI change. Changing post-menu to js-post-menu seems to work.
    – user202729
    Jan 12, 2021 at 10:49

1 Answer 1


This post will help you get an access token

Please first install the userscript via this link.

(this post will dynamically change based on your current state)

  • 1
    See my answer to your linked question. This "answer" here is not needed at all, once you use the correct approach Jul 27, 2018 at 8:20
  • @user202729 Thanks, it was due to a different reason and I've fixed it! Dec 22, 2019 at 16:16
  • What happens when the user use this script to flag their own comment?
    – user202729
    Jul 4, 2020 at 5:39
  • @user202729 The script detects that it's the user's own comment and deletes the comment instead. Jul 5, 2020 at 4:53
  • (not sure if it's fixed in the newest version but) I just have to retract a bunch of flags because if you press [cflag] on 2 answer on 2 different pages, then press "select all" on one, the other will be selected too.
    – user202729
    Dec 11, 2021 at 7:17

You must log in to answer this question.

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