All Projects → samliew → So Mod Userscripts

samliew / So Mod Userscripts

Licence: mit
Stack Overflow Moderation Userscripts

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to So Mod Userscripts

sox
Stack Overflow Extras: a userscript for the Stack Exchange websites to add a bunch of optional toggle-able features
Stars: ✭ 65 (-19.75%)
Mutual labels:  userscript, stackoverflow
Back2stackoverflow
Userscript for redirect to stackoverflow.com from machine-translated sites
Stars: ✭ 237 (+192.59%)
Mutual labels:  stackoverflow, userscript
Sosl
StackOverflow Search Library
Stars: ✭ 10 (-87.65%)
Mutual labels:  stackoverflow
Netnr.login
项目已迁移至
Stars: ✭ 75 (-7.41%)
Mutual labels:  stackoverflow
Giveawaycompanion
Saves your time on games giveaway sites.
Stars: ✭ 59 (-27.16%)
Mutual labels:  userscript
Blog Post Workflow
Show your latest blog posts from any sources or StackOverflow activity or Youtube Videos on your GitHub profile/project readme automatically using the RSS feed
Stars: ✭ 910 (+1023.46%)
Mutual labels:  stackoverflow
Userscript Plus
🐒 Show current site all UserJS,The easier way to install UserJs for Tampermonkey. 显示当前网站的所有可用Tampermonkey脚本
Stars: ✭ 1,142 (+1309.88%)
Mutual labels:  userscript
Irccloud Sws
✏️ Enables text styles in IRCCloud
Stars: ✭ 17 (-79.01%)
Mutual labels:  userscript
Userscript
Greasemonkey 脚本
Stars: ✭ 79 (-2.47%)
Mutual labels:  userscript
Particle
Home of the extension YouTube Plus that allows you to experience more on YouTube
Stars: ✭ 1,057 (+1204.94%)
Mutual labels:  userscript
Ltkdifmu Userscript
No more Audio and Visual ads. Allows AFK, Allows AdBlock, on all radios from AudioAddict including www.di.fm and more.
Stars: ✭ 74 (-8.64%)
Mutual labels:  userscript
Google Search Sidebar
A user script and user style to move Google search tools to sidebar.
Stars: ✭ 46 (-43.21%)
Mutual labels:  userscript
Automail
An enhancement collection for anilist.co
Stars: ✭ 34 (-58.02%)
Mutual labels:  userscript
Userscripts
My userscripts
Stars: ✭ 67 (-17.28%)
Mutual labels:  userscript
Socli
Stack overflow command line client. Search and browse stack overflow without leaving the terminal 💻
Stars: ✭ 911 (+1024.69%)
Mutual labels:  stackoverflow
Gso
🏃 Google StackOverflow in Vim. Copy-pastes the code directly in your script.
Stars: ✭ 75 (-7.41%)
Mutual labels:  stackoverflow
Custombottomsheetbehavior
Custom BottomSheetBehavior for Android that mimic Google Maps behavior
Stars: ✭ 844 (+941.98%)
Mutual labels:  stackoverflow
Github Userscripts
Userscripts to add functionality to GitHub
Stars: ✭ 1,011 (+1148.15%)
Mutual labels:  userscript
Nxenhanced
Adds "quality-of-life" features to NextDNS website for a more practical usability
Stars: ✭ 58 (-28.4%)
Mutual labels:  userscript
Talkyard
A community discussion platform: Brings together the main features from StackOverflow, Slack, Discourse, Reddit, and Disqus blog comments.
Stars: ✭ 1,219 (+1404.94%)
Mutual labels:  stackoverflow

Stack Overflow Moderation Userscripts

by Samuel Liew

Bug reports, Forks, and PRs welcome!


Recommended

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:

These are highly recommended for everyone because they are too awesome:

Recommended chat userscripts:


General userscripts

Expand Short Links

Can you see the link in the post below?
screenshot

  • Appends _link to 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
    screenshot

Hover Expand Navigation Links

  • On pagination dots "..." mouseover, adds additional 30 in-between links
    screenshot

Lightbox Images

  • Opens image links in a lightbox instead of new window/tab in main & chat

Redacted Screenshots

  • Anonymizes user links in posts and comments
  • Masks and hides user-identifying info on page (IPs and email addresses)
    screenshot
  • Redact button can be found fixed on the bottom-left of the screen

Reduce Clutter

  • Removes unnecessary elements from the UI
    • Show comment vote/flag icons only on comment hover instead of all the time
    • Reduces contrast of edited comment icon
      screenshot
    • Show "Edit" (tags) link only on tag list hover
      screenshot
    • Hides announcement bar containing keywords like "podcast"
  • See comments in userscript source for more info

Searchbar & Nav Improvements

  • (Parent) Option to search child meta
    screenshot

  • (Meta) New search bar on meta sites, and option to search parent site
    screenshot

  • (Parent) Adds link to child meta in left sidebar
    screenshot

  • (Meta) Adds link to parent in left sidebar
    screenshot

  • Advanced Search Helper when search box is focused
    screenshot

    • Fill-in your watched/ignored tags!
      screenshot
    • Tag autocomplete
      screenshot
    • Username autocomplete
      screenshot
    • Useful add-ons!
      screenshot
  • Saved Searches

    • Toggle from search results page
      screenshot
    • View list via toggle button in Advanced Search Helper
      screenshot
  • Auto Refresh

    • Toggle from search results page
      screenshot

Stack Exchange Dark Mode

  • Dark theme for Stack Exchange.
  • Some elements have reduced opacity until focused/mouseover (sidebar modules/images/timestamps). Some important colours are retained.
  • Code highlighting in darker colours
    screenshot
    screenshot
    screenshot

Stack Exchange Wider Mode

  • Unlock the max-width of all Stack Exchange sites and utilize your wide screen
  • Change your preferred width size in source code

Stack Print Styles

  • Responsive print styles for all sites on the network, as well as chat and chat transcripts
  • Strips out unnecessary information from the page only when printing, leaving just the main content

Q&A userscripts

Additional Post Mod Actions

  • 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
    screenshot
  • 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
    screenshot
  • Able to quickly dispute or comment lock a post with custom number of days, as well as unlock
  • Quickly destroy users (with <200 rep) if they are posting spammy content (post age <30 days) (requires confirmation, 5-second throttle)
  • Post dissociation link quickly composes a post dissociation request for post user with link of post inserted into dissociation message template
  • (Stack Overflow) assists with re-duping of old questions closed with the old duplicate notice
  • (Meta Stack Overflow) one-click closing, deleting questions as off-topic, and posting canned comment

Chat Transcripts By Default

  • Rewrites chat room links to chat transcript in Q&A comments, to avoid joining the room directly

Discussed On Meta

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
    screenshot
  • On arrow mouseover, displays the Meta posts
    screenshot
  • Works for posts with IDs >= 100000 only to prevent false positives

Downvote Posts in Search Results

  • When searching for not locked posts (locked:0 or locked:no), adds button in bottom right to downvote all displayed results

Fetch Question Stats

  • Display number of recent comments (in the last 30 days) on each post in question lists
    screenshot
  • For mod queues, additional info (30-day revision history) is also retrieved
    screenshot
  • Detects if post has any revisions after being flagged
    screenshot

Fetch Vote Counts Again

  • 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

Hide Vote Counts

  • Experiment to hide all post scores until you have voted for the post
  • Does not hide post scores for own posts, as well as locked or deleted posts.

Migration Helper

  • 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.
    screenshot
  • Dropdown transformed with Chosen, allowing for text search of site names
    screenshot

Post Headers & Question TOC

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


screenshot

  • 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)
    • Option to toggle visibility of deleted answers (visible to 10k rep users)


screenshot

Post Ids Everywhere

  • Inserts post IDs everywhere where there's a post or post link (for copying/easier x-referencing/etc)
    screenshot
  • Useful for copying ID of answer, for converting an answer to a comment of the target post
    screenshot
  • When double clicked, opens post timeline in new tab

Post Timeline Filters

  • 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)
    screenshot

Revert Tooltips

  • Reverts the new instant stacks tooltips used in the post voting containers into native browser tooltips that appear after a short delay
  • Also changes the follow/unfollow stacks tooltip to native tooltips

Comment Moderation

Comment Flag Type Colours

  • Works on user's comment flag history group page


screenshot

  • Works on user's mod comment history pages


screenshot

  • Works on mod comment flag queues


screenshot

Comment Undeleter

  • Allows moderators to undelete comments deleted by any user, including ex-mods and Communnity user

Comment User Colors

  • 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
    screenshot

Display Inline Comment Flag History

  • Grabs post timelines and display comment flag counts beside post comments. This also permalinks to comment in post timeline
    screenshot
  • Displays flags on comment hover
    screenshot
  • 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)

New Comments Layout

Better comments layout for easier readability and moderation.

  • Reduce comment body font-size to 96%
  • Comment meta-text is on a new line, font-size reduced to 90%
  • Usernames in comments are italicized
  • Deleted comment info is floated right to keep comments compact instead of taking up a new line
  • Delete links are floated right (to make it consistent with Undelete links)
  • When mouse is over comments section, show faint preview of all delete links
  • Comment hover background
    screenshot

User Moderation

Deleted Users Helper

  • Redirects user 404 pages to main profile
  • Linkify deleted users, show display name on mouseover
    screenshot
  • You can now multi-select delete/undelete posts by deleted user
    screenshot
  • Improved deleted user page, linkify URLs
    screenshot
  • Additional helpful links below for IP & username cross-referencing
    screenshot
  • 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
    screenshot

Find Users Additional Info

  • Improvements for /admin/find-users

Mod Message Helper

  • Adds a message menu to userinfo boxes
  • Select from usual mod message or CM message templates
  • Selected templates are automatically selected on landing on the new message page

Mod User Quicklinks Everywhere

  • Adds user quick links under display name in posts (opens in new tabs)
    screenshot

Post Ban Deleted Posts

  • 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
    screenshot

User Activity Notifications

  • Display Windows notification when user page is open and user has new activity (new post, new comment, new edit, etc.)

User History Improvements

  • Fixes broken links in user annotations, and minor layout improvements
    screenshot

User Info Sidebar

  • Adds user moderation collapsable left-sidebar to user-specific pages: quick links & selection of user details from Mod Dashboard
    screenshot

User Social Media Profile Links

  • When user PII is loaded, add links to social media profile
    screenshot

Userlink Tooltips

  • On user link mouseover, display user's reputation

Suspicious Voting Helper

  • Assists in building suspicious votes CM messages
  • Highlight same users across IPxref table (hover to highlight, click to pin highlight)

Reviews Moderation

Rejected Suggested Edits

  • 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
    screenshot
  • 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
    screenshot
    screenshot

Review Queue Helper

  • Keyboard shortcuts for review action buttons
  • Keyboard shortcuts for popup action dialogs (close, flag, delete, reject edit)
  • Auto-focus submit button when option selected in popup action dialogs (e.g.: so you can go "2 > 2 > space" to submit)
  • Automatically skips review audits
  • Esc goes back a previous dialog pane
  • More options available when SOMU Options userscript is installed

User Review Ban Helper

  • Display users' prior review bans in review (links to review ban history), ban quicklink
    screenshot
  • Insert review ban/unban button in user review ban history page
    screenshot
  • If ban quicklink is clicked from a review, auto user lookup if user ID passed via hash, auto-fill reason with review URL
    screenshot
  • Link ban counts in table to user's review history
    screenshot

Mod Improvements & New Tools

10k Tools Helper

  • Expands all sections
  • Adds question or answer filters to Delete votes page
    screenshot

Mobile Moderator Pages

  • Before/After (screenshot redacted using RedactedScreenshots, and also running CommentFlagsHelper and CommentFlagTypeColours)
    screenshot
  • Use new responsive menu
    screenshot

Mod Batch Comment Deleter

Mod Flagger Stats

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

Mod Popup Dialog Improvements

  • Delete moved comments is checked by default
  • Prevent Mod actions in Flag Queue redirecting to post - instead opens in a new tab

Moderator History Improvements

  • Better UI for recent moderator flag handling history
  • Automatically updates every 30 seconds

Personal Mod Message History

  • Displays link to switch to your recently sent mod messages in the inbox dialog
    screenshot

Refresh Empty Mod Queue

  • 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

Mod Queue-specific userscripts

Comment Flags Helper

  • Highlight common chatty/rude keywords
  • Some style improvements
  • Rename "dismiss" link to "decline" with hover warning color
    screenshot
  • Add "dismiss + delete" option on hover
    screenshot
  • Always expand comments if post is expanded (includes deleted posts), and highlights flagged user comments in expanded posts
    screenshot
  • Quick purge all comments link (with confirmation prompt)
    screenshot
  • Option to review from the bottom of the page (so page won't jump around after handling each flag)
    screenshot
  • Option to hide comments posted within the past day
    screenshot

Duplicate Answers Flags Helper

  • 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
    screenshot
  • 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.

Options:

  • Duplicate Comment (text)

Not An Answer Flag Queue Helper

  • Inserts several sort options for the NAA / VLQ / Review LQ Disputed queues
    screenshot

Possible Vandalism Comment Deletions Helper

  • Display deleted comments and user who deleted the comments
  • UI is similar to commenttoomanydeletedrudenotconstructiveauto queue + Comment Flags Helper
    screenshot

Possible Vandalism Deletions Helper

  • Sort answers first

  • Display post score, number of undeleted answers, post age
    screenshot

  • Recommend action based on post info
    screenshot

Possible Vandalism Edits Helper

  • Similar to the above, display revision count, post age
  • Does not recommend as edits still need to be reviewed manually

Too Many Comments Flag Queue Helper

  • Auto-expand unhandled posts
  • Display post info at the bottom
    screenshot
  • Inserts quicklinks to "Move comments to chat + delete" and "Delete all comments"
    screenshot
  • Confirmation displayed after successful response from server (don't forget to mark as helpful)
    screenshot

Chat UI & Chat Moderation

Chat Emojis

  • Allows users to insert unicode emojis into chat
    screenshot
  • If chat messages contains just a single emoji, increase size
    screenshot

Chat Improvements

Works with "No Oneboxes In Chat" and "Stack Exchange Dark Mode".

  • New responsive user list displaying usernames and total count
  • Timestamps on every message in live chat
  • Use tiny signatures and avatars only
  • Mods with diamonds in signatures
  • Message parser (smart links and link expander)
  • Minimize room description and room tags (hover to expand)
  • Topbar with live inbox notifications and chat domain switcher
  • Link to rejoin starred rooms
  • Expand starred messages in sidebar on hover and on print
  • Starred messages are now scrollable instead of having to click on "show more"
  • On mouseover user signatures or mentions, highlight occurences of same user's links and mentions on page
  • Room owner changelog in access info page
  • Add transcript and room owners links above user list
  • Print styles for live chat and transcripts (for printing to PDF with clickable links)
  • (Mobile) font size increase
  • and more...

Chat More Magic Links

  • 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]

Chat Pagination

  • Do not install if you have ChatImprovements as it already includes this feature
  • Adds pagination to user's recent messages page

Chat Redact Messages

  • Add "Redact + Purge + Delete" button to message history page
    screenshot
  • Add history link to message actions popup if not found
    screenshot

Chat Room Info Annotations

  • Display users' annotation count in chat room general info tab
    screenshot

Chat Transcript Helper

  • Replaces timestamps in chat transcripts with your local time

Create Private Mod Chatroom

  • One-click button to create private mod chatroom from user chat profile, and then grants the user write access immediately after
    screenshot
  • 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)
    screenshot

No Oneboxes in Chat

  • 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

No Oneboxes in Chat Transcripts

  • Do not install if you have NoOneboxesInChat, as it already includes this feature
  • Collapses oneboxes from chat transcripts, bookmarked conversations (live chat untouched)
  • Click to display onebox

Show Deleted Messages in Chat

  • Show deleted messages from live chat, chat transcripts, bookmarked conversations
  • Works with No Oneboxes in Chat userscript

Miscellaneous

SOMU Options

  • 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

Election Supporter Flairs

  • Flair users who voted in the elections...
    • mods: when you were elected
    • users: for the latest election
      screenshot
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].