You can download the script from its GitHub repo, or use the direct download link.


I've developed this by myself, but I'd like to thank Tyberius from Matter Modeling Stack Exchange who assisted development by sharing details about the moderator interface. Version 0 uses SO mod userscripts as a template.

To-do / known bugs

This is in alpha, because I still have bugs to work out. Known bugs:

  • When you edit or create a custom close reason, "an error occurred" pops up even though it still works
  • Migration doesn't work
  • "Admin settings" is highlighted even when you are in moderator tools
  • After clicking "show all comments", the flag button disappears
  • Certain actions cause the flag and mod buttons to disappear until you reload


Some screenshots of the script in action:

Moderator links Flag review Moderator post actions User information Moderator user actions IP addresses


Have you ever wondered what it was like to be a moderator? Or if you are a moderator, wish that you could preform some actions without repercussions (what does that delete user button do? Too bad I haven't noticed a spammer yet...)? Then this is for you! This script can be used to enable moderation actions on teams, including post actions, user actions and site configuration.  It can do the following:

Post actions

  • Protect and unprotect questions
  • Locks: historical lock, content dispute, comment lock and wiki answer on both questions and answers
  • All close reasons, not just the ones in teams
  • Migration (coming soon)
  • Purge comments
  • Merge questions
  • Post notices: needs citation, current event and needs detailed answers
  • Convert answers to comments or edits
  • Show deleted comments

User actions

  • Annotate
  • Clear sessions (logs them out on all Stack Exchange sites)
  • Delete and destroy
  • Send moderator private message and/or suspend
  • Contact community team
  • Show history, IP address and various information about their team activity

Site actions

  • A fully working flagging system!
  • Creation of site-specific close reasons
  • Site analysis
  • Moderator tools

What happens if you try to destroy Community?

I'm sure you were wondering about this.

User -1 cannot be destroyed because they are a moderator or an employee.

Users who are moderators or employees can only be destroyed by a developer or community team member.

The Stack Exchange community team has been notified.


"Moderator action failed" when trying to destroy community

I don't know if it actually notifies the Stack Exchange community team though.


This is released with the GNU General Public License v3.0.


This app will run under GreaseMonkey, and will be supported on all browsers it supports.


If you have any comments, questions or ideas to add to the list of moderator actions, post them as an answer and I'll respond shortly.

How can I help?

First of all, you can upvote... If you want to do something more to assist, let me know as an answer if I missed any moderator features you would like to see, or any other suggestions.

  • 1
    Feature request: stackoverflow.com/c/<teamname>/admin/links links should be edited to redirect to /c/teamname/admin/<path> instead of /admin/<path> – smileycreations15 Jun 24 at 9:28
  • @smileycreations15 Implemented! Update to version 0.0.3 to see the change. – Anonymous Jun 24 at 18:20
  • 1
    Thanks, there are a lot of links lying around that have this issue so there might need to be more link editing via JS. Or is your patch /admin/links specific? – smileycreations15 Jun 25 at 9:24
  • @smileycreations15 My patch applies for all links that start with /admin plus /annotated-posts (specifically that URL, but not sub-URLs) on all team pages (so not just /admin/links). There may be others, and unfortunately I can't patch every URL or else it would be impossible to open the Stack Overflow home page within teams (for instance). Let me know if you notice any others and I'll patch them. – Anonymous Jun 25 at 17:42

One caveat is that some moderator actions are directly linked to SO instead of the team, and then an admin will have to manually copypaste the /c/<teamname> part to perform that action. For example, the link in the screenshot below doesn't work. Note that 20 is the user ID of the user in question.Screenshot of a link that doesn't work1

New contributor
Tech Expert Wizard is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Yeah, it's an issue that some Stack Exchange URLs are broken like this. I'm trying to patch any URLs I can find so that the script adds /c/<teamname>/ to the URL but I have to patch each one manually so I missed a few. Thanks for bringing this to my attention, I'll fix it in the next update. – Anonymous Jul 19 at 22:51

You must log in to answer this question.

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