Questions tagged [script]
Use this tag to post a userscript that operates on Stack Exchange sites and/or uses the Stack Exchange API. For questions about user scripting and Stack Exchange, or its API, use the [scripts] tag instead. Scripts are usually JavaScript and usually browser extensions/userscripts. For other tools, the [app] tag may be more appropriate.
Show Deleted Answers at head for Stack Exchange
Description Script practice. To view your own deleted answers/questions on a Stack Exchange account, you always need to scroll all the way down to see the "Deleted answers" tag. I've writ…
OBSOLETE - SE Editor Toolkit
Looking for Maintainer I have not had the capacity to maintain this project in any meaningful way, but the source code is quite clear and reasonably well documented. If you would be interested to …
Flag searcher - search in your flagging history
I don't know any good way to search for your own flags by custom accept/rejection reasons, title, flag text or detailed flag type (e.g. "Not an Answer") hence I wrote a user script for th…
Fix for network filter deletions
Description Problem See the report: Can't delete the filter called My Filter. In short, deleting a filter redirects the browser to the page to immediately create a new filter, therefore you can nev…
Reopen/Delete Vote Rename - Clarify whether you've voted to delete/undelete already
Ever forget you voted to delete something and ended up retracting your vote accidentally? Well, so have a bunch of other people, myself included, so let's make that a bit more obvious. This script …
White keyboard highlighting in dark mode
Description This changes highlighting from using keyboard shortcuts to use white instead of black. Allows actually seeing the highlighting noticeable in high contrast mode. The userstyle only works…
Stack Exchange code block line numbers userscript
A Userscript to add line numbers to code blocks
Sort Best First
Inspired by the Fastest Gun question on the central Meta, this script implements answer sorting based on a modified Wilson score. Installing the script adds a ‘Modified Wilson score’ sort option o…
Stack Exchange One-Click Reviews
Review items on Stack Exchange by simply clicking on the review action, rather than having to select and choose Submit
Easily apply "bookend" deletion of AI-generated content
Description This is a fork of Samuel Liew's DeletedUsersHelper userscript. It's a script for moderators only. The purpose of this userscript is to simplify bulk-deletion of AI-generated posts as pe…
Revert Stack Exchange's new up/down vote buttons
This userscript, written for ViolentMonkey, reverts the question and answer upvotes on all Stack Exchange sites so that they are almost identical to their previous design. New vote buttons (shown f…
Universal dark mode (beta)
[Beta] Universal SE Dark Mode While functional, this is experimental and while some sites work, a bit more work is required for it to support all (or, most of) SE. Install Universal dark mode has l…
Better handling of indentation and the TAB key when editing posts
This user script changes the behavior of a few keys (most notably the Tab key) within the post editor to behave more like it does in IDEs or text editors
The Stack Overflow Unofficial Patch (SOUP)
The Stack Overflow Unofficial Patch (SOUP) is a project to collect various minor client-side bug fixes, work-arounds and usability improvements for Stack Overflow and other Q&A sites on the Sta…
User style for mod strike
Tested in Stylus on Firefox. Hides review queue, downvote, VTC, VTD, delete, undelete, and flag buttons/links. /* ==UserStyle== @name ModStrike @namespace github.com/openstyles/stylu…
SE Comment Link Helper
Converts raw question URLs to title-fied links automatically before submitting a comment
Using scripts on iOS with the Userscripts app never seem to work?
I'm using the Userscripts app for mobile Safari. My phone is an iPhone 13 running 15.6.1 operating system. I use this app for other scripts. So it does, at least for some things, work as expected. …
Question and Answer Icon Annotations in Reputation History
Description This UserScript makes it easier to differentiate post type in the reputation history (/users/:user-id/username?tab=reputation) by adding Q and A icons as visual indicators. Specifically…
Save the waffles! Bringing back custom 404 pages to Stack Exchange
The userscript brings back custom 404 page images to sites of the Stack Exchange network
Get fkey button: see your chat fkey without inspecting the source!
Adds a button that tells you your fkey when it's clicked.
Official keyboard shortcuts
The official keyboard shortcuts for the Stack Exchange sites, developed as a user script until ready for inclusion as a regular feature.
How do I add a comment to a post through the Stack Exchange API?
I want to add an comment to a specific post so, how do I get its ID and how do I authorize it. I want it to done through the Stack Exchange API interface.
StackMarks™ - Better bookmarks for a better experience
Bookmark management system introducing categories for Stack Exchange
Faster Answer Links
This is a convenience user script. It prevents page reloading when following links to answers that happen to be present on the same page, and to their comments; instead, it simply scrolls to the l…
Activity Indicator - see if you participated in a Q&A at a glance
Activity Indicator is a userscript that displays a, well, indicator and some useful stats about your interactions with a given post.
Fix excessive underlines in high contrast mode
Stack Exchange introduced some excessive underlining in high contrast mode. This is visually very busy and overzealous application of underlines. Literally every link will be matched by their CSS, …
PLACEHOLDER - GPT/AI Post Stats
Scripts to analyze posts for potential GPT content. Note that this is not for AI training - Simply looking for suspect GPT/AI content.
<kbd>, Superscript and Subscript, markup shortcuts
This script adds buttons and keyboard shortcuts that make it easy to add/remove: <kbd> tags Superscripts and subscripts <del> tags <br> tags   when editing posts. Ol…
Custom Sidebar Links
Allows for adding user-defined links to the left-sidebar on SE sites
Bring focus to inline tag editor
Description Focus the inline tag edit tool1 when opened. Allows for using keyboard immediately to interact with the tags. Press Escape to cancel the editing or Enter to save. 1Part of the moderator…
OBSOLETE - Freehand Circles Drawing Tool
A userscript that lets you draw directly onto images on any Stack Exchange site to add freehand drawings :)
Footer Remover Exchange - remove the unnecessary footer!
I usually scroll to the bottom in Stack Overflow looking for interesting questions to answer. Hence, it's pretty annoying to see the footer since it doesn't contain any useful content beside the &q…
Duplicate manager with automatic closure and duplicate list editing
Description This is a userscript partly inspired by Aran Fey's Duplicate Target Manager and responds to this meta question (by myself) API to programmatically close questions as duplicate with dupl…
Stack Exchange Global Flag Summary
A userscript that provides a networkwide flag summary for all Stack Exchange sites.
SE Toast/FancyOverlay Suppressor
StackExchange provides a variety of notices and toast messages, but sometimes they can get a bit annoying for experienced users. This UserScript adds a Proxy to the two helper functions which cause…
Remove related questions from the middle of the page
Stack Exchange graduated the test of moving the related questions section in the middle of the secreen. This section rarely provides actually relevant questions and it serves as a big distraction …
Auto-Editor: a user script for automatically correcting common errors
This user script adds a button when editing Stack Exchange sites that automatically fixes many common grammar, spelling, capitalization, and usage errors. Installation Install a user script extens…
Custom Fonts User Script: Revert or Improve the Font Updates
Recently, Stack Exchange decided to switch to system fonts. For those of you who prefered the old appearance, or would like a different font to appear in code blocks or across the site as a whole, …
Userscripts Configurer - One script to configure them all
UserScripts Configurer provides a shared UI and controls configuration options for UserScripters' userscripts.
Duplicate list edit diffs in post timeline
The native post timeline displays "duplicate lists edited" event as an unreadable mess of links. This userscript diffs the changes and displays them as easy to visually parse lists of items.
Voting Overcharged - A userscript for automatically voting on posts depending on various conditions
A userscript for automatically voting on posts depending on various conditions.
A service to help people to download their Dev Stories before the Stack Overflow DS sunset
Manfred launches a website that allows any StackOverflow user to download their Developer Story data as a JSON file, without requiring registering or providing any email address. For free. Open Sou…
NATO tool link shortcut
This is a basic userscript which saves one click and some waiting time. If you are anxious like me and don't like to head over to the (10k) Tools page, wait for the page to load while chasing the e…
ChatOvercharged - making inserting markdown links in chat convenient
ChatOvercharged makes inserting markdown-formatted links in chat convenient
Inbox auto-read - a userscript to mark inbox notifications as read automatically
Inbox auto-read Install Tl;dr: This Tampermonkey userscript automatically reads inbox notifications when it is opened instead of requiring one to press the Mark all read button. I gave it the MIT L…
OBSOLETE - Restore syntax highlighting on review and revision pages
Restore syntax highlighting on revision and review pages
Automark as read
The following simple script reverts the most significant one of the inbox ‘improvements’: it marks all inbox messages as read as soon as the inbox is closed. // ==UserScript== // @name Stack Ex…
Don't let me interact with this user's posts (for sockpuppets, mostly)
The main purpose of this script is to prevent one from accidentally interacting with questions/answers posted by a sock of their own (but it can also be used to avoid interacting with posts from ot…
Better Paginator - a userscript to add a page-number-box to the paginator
Adds a box where the user can enter a page number to go to in the paginator
Threaded comments
Display comments on questions and answers in conversation threads instead of linearly