by Samuel Liew
Bug reports, Forks, and PRs welcome!
See also: Other Stack Overflow Userscripts
These are highly recommended for moderators. Minor changes to the UI/defaults makes your mod life easier by a huge amount (saving clicks, or having to hunt for a particular link/mod feature, or displaying more info upfront). Click these to jump to their descriptions below:
- Mod User Quicklinks Everywhere
- User Info Sidebar
- User Review Ban Helper
- Comment Flags Helper
- Not An Answer Flag Queue Helper
- Display Inline Comment Flag History
- Deleted Users Helper
- User History Improvements
- Additional Post Mod Actions
These are highly recommended for everyone because they are too awesome:
- Adds user moderation collapsable left-sidebar to user-specific pages: quick links & selection of user details from Mod Dashboard

- Delete moved comments is checked by default
- Prevent Mod actions in Flag Queue redirecting to post - instead opens in a new tab
- Display users' prior review bans in review (links to review ban history), ban quicklink

- Insert review ban/unban button in user review ban history page

- If ban quicklink is clicked from a review, auto user lookup if user ID passed via hash, auto-fill reason with review URL

- Link ban counts in table to user's review history

- Grabs post timelines and display comment flag counts beside post comments. This also permalinks to comment in post timeline

- Displays flags on comment hover

- Clear CommentFlags cache on weekends
- On post timeline page, if comment is found in URL, also expand flags on the comment
- Fixes display style on comment flags expansion (jQuery show/hide defaults to block, breaking table)
- Redirects user 404 pages to main profile
- Linkify deleted users, show display name on mouseover

- You can now multi-select delete/undelete posts by deleted user

- Improved deleted user page, linkify URLs

- Additional helpful links below for IP & username cross-referencing

- When PII is loaded on user mod page, format the info in a textarea for easier copying into delete/destroy reason so it will look like this

- When user posts on Meta Stack Overflow regarding a post ban, fetch and display deleted posts (must be mod) and provide easy way to copy the results into a comment

- If current mod queue is empty, reload page occasionally
- Also puts the flag count back in the navbar in case you miss it or need a link to the empty flag queue for some reason
- Dropdown list of migration targets displaying site icon/logo/header images and links to the selected site's on-topic page and mod list. Displays additional information for custom flagger for selected network site.

- Dropdown transformed with Chosen, allowing for text search of site names

- Assists in building suspicious votes CM messages
- Highlight same users across IPxref table (hover/click to pin highlight)
- Adds a menu of quick mod-actions instead of having to wait for mod menu to load and having to select items in the mod menu

- The items in the menu are disabled/hidden depending on context, and also slightly different options based on whether it's a Q or A

- Post dissociation link quickly composes a post dissociation request for post user with link of post inserted into dissociation message template
- Inserts several filter options for post timelines, useful for old posts with humongous timelines
- Hides daily summaries by default
- Fixes display style on comment flags expansion (jQuery show/hide defaults to block, breaking table)

- On post hover in mod flag queue, get and display flaggers stats (via tooltip on flag badge):
Reputation, Total Flags, Declined Flags, % Declined
- Badge links to user's flag history (opens in a new window)
- Non-mods: Can view own flag badge on main profile page

- Inserts post IDs everywhere where there's a post or post link (for copying/easier x-referencing/etc)

- Useful for copying ID of answer, for converting an answer to a comment of the target post

- When double clicked, opens post timeline in new tab
- Anonymizes user links in posts and comments
- Masks and hides user-identifing info on page (IPs and email addresses)

- Redact button can be found fixed on the bottom-left of the screen
Can you see the link in the post below?

- Appends
_linkto short link texts in posts and comments so they can be easily seen and clicked on - Link is also bolded and color set to red
- E.g.: Link
.visually becomes._link
This userscript has only been tested on Tampermonkey, and requires additional permissions for cross-site requests to Meta as it's on a different domain. Simply click on "Always allow" when prompted.
- For questions, displays info if it's discussed on Meta

- On arrow mouseover, displays the Meta posts

- Works for posts with IDs >= 100000 only to prevent false positives
- Unique border colour for each user in comments to make following users in long comment threads easier
- Only appears if user has more than one comment on the page

- Flair users who voted in the elections...
- Sticky post headers to help when scrolling long posts / comment threads
- User, revision history, post timeline links
- Clicking on empty middle area scrolls to start of post (replaces URL hash)
- Question Table of Contents of Answers in sidebar below Featured Posts module
- Only shown when there are five or more answers
- Answer score, accepted, user display name, indicates mods and deleted users, datetime
- Sorted by current answer sort order (active/oldest/votes)
- Clicking on answer links scrolls to start of post (replaces URL hash)
- Toggle deleted answers in ToC
- Works on user's comment flag history group page
- Works on user's mod comment history pages
- Works on mod comment flag queues
- Show comment vote/flag icons on comment hover
- Reduces contrast of edited comment icon

- Show "Edit" (tags) link only on tag list hover

- Opens image links in a lightbox instead of new window/tab in main & chat
- Fetch vote counts for posts and enables you to click to fetch them again, even if you do not have sufficient rep
- Also enables fetch vote counts on posts in mod flag queue
- Display number of recent comments (in the last 30 days) on each post in question lists

- For mod queues, additional info (30-day revision history) is also retrieved

- Detects if post has any revisions after being flagged

- Adds new page
/review/suggested-edits/history/rejected - Adds link to above page via mod links page (
/admin/links) as well as Suggested Edits tabs
- has toggle date format (like post timelines) and pagination
- anonymous users are easy to spot because they are unlinked
- click on left arrow toggle to display review summary
- anonymous edits reviews are preloaded so we can detect whether they have spam rejection reasons

- Rewrites chat room links in comments to chat transcript, to avoid joining the room
- Replaces timestamps in chat transcripts with your local time
- Collapses oneboxes from chat transcripts, bookmarked conversations (live chat untouched)
- Click to display onebox
- Collapses oneboxes from live chat, chat transcripts, bookmarked conversations
- Click to display onebox
- Has exposed function to work together with Show Deleted Messages in Chat userscript
- Some magic links are not parsed in Stack Overflow Chat. This script parses and submit expanded magic links via an edit to your latest message.
- List of additional magic links handled by this userscript:
[mcve][help][help/on-topic][help/dont-ask][help/behavior][meta-help][tour][chat]
- Show deleted messages from live chat, chat transcripts, bookmarked conversations
- Works with No Oneboxes in Chat userscript
- Add "Redact + Purge + Delete" button to message history page

- Add history link to message actions popup if not found

- One-click button to create private mod chatroom from user chat profile, and then grants the user write access immediately after

- When entering this room, add view chat profile and superping buttons in message
- Clicking on superping button will generate a superping with instructions on how to join the room (because inbox only links to room transcript, and new users may not know what to do)

- Highlight common chatty/rude keywords
- Some style improvements
- Rename "dismiss" link to "decline" with hover warning color

- Add "dismiss + delete" option on hover

- Always expand comments if post is expanded (includes deleted posts), and highlights flagged user comments in expanded posts

- Quick purge all comments link (with confirmation prompt)

- Option to review from the bottom of the page (so page won't jump around after handling each flag)

- Option to hide comments posted within the past day

- Add action button to delete AND insert duplicate comment at the same time, saving you from deleting and then having to open up a new tab to manually insert comment

- Comment left on answer:
Please [don't post identical answers to multiple questions](https://meta.stackexchange.com/q/104227). Instead, tailor the answer to the question asked. If the questions are exact duplicates of each other, please vote/flag to close instead.
- Duplicate Comment (text)
- Auto-expand unhandled posts
- Display post info at the bottom

- Inserts quicklinks to "Move comments to chat + delete" and "Delete all comments"

- Confirmation displayed after successful response from server (don't forget to mark as helpful)

-
Sort answers first
- Display deleted comments and user who deleted the comments
- UI is similar to commenttoomanydeletedrudenotconstructiveauto queue + Comment Flags Helper

- Similar to the above, display revision count, post age
- Does not recommend as edits still need to be reviewed manually
- Required for userscripts that allows further customization
- See options under each userscript above for info on what is available
- Options sidebar will appear on pages that the respective userscripts are running on
- Before/After (screenshot redacted using RedactedScreenshots, and also running CommentFlagsHelper and CommentFlagTypeColours)

- Use new responsive menu
































