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.

Export to Google Docs™ companion
Add a button to each post for easy export to Google Docs™. Export questions and answers from Stack Exchange in various formats to Google Drive.

Hide Recognized Member text from the RM's flairs in the Collectives
With the launch of Collectives on Stack Overflow, whenever a recognized member post an answer within their respective collective, there will be a "badge" underneath their flair which show…

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…

PLACEHOLDER - DraftWriter
The script is designed to create a draft of a Stack Overflow question. The main components of this application are: Stack Overflow API: The application interacts with the Stack Overflow API to per…

Load Anonymous feedback
Access to anonymous and low-rep post feedback This User script allows to view anonymous and low-rep post feedback/votes under the voting menu: You can get it from GitHub: Source Install What is an…

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 …

A userscript to disable the auto-scrolling when clicking on the preview area of SE editor
This userscript addresses the issue described in detail in this Meta.SE post. After this userscript is installed, the auto-scrolling behavior of the SE editor will be completely disabled (not only …

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…

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

Add the excerpt back to the question title on hover
Adds on the home page of a site an excerpt of the question when hovering over the title

OpenAI detector
Adds a button to check the probability that a post was written by a bot

Voting Overcharged - A userscript for automatically voting on posts depending on various conditions
A userscript for automatically voting on posts depending on various conditions.

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…

How to get write access to Stack Exchange API? [duplicate]
I am trying to use Stack Exchange API to post upvotes and downvotes from my app. I have received the access token but not sure what to do with write_access

Custom Sidebar Links
Allows for adding user-defined links to the left-sidebar on SE sites

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,…

Optionally Anonymised Short Links
Description This is a resurrection of the (now no longer accessible) UserScript Anonymize short links. Specifically, this script implements this proposal by adding a checkbox (toggle switch) to eac…

PLACEHOLDER - Sample Script to test Stack Exchange API
The script is only testing various Stack Exchange APIs.


replace text with icons
Exist any way to replace text with icons? Like this example: I have tried to re-write/replace the html from an extension in the site but I have not achieved anything functional; with the relative …

Revert Stack Overflow's new up/down vote buttons
This userscript, written for ViolentMonkey, reverts the question and answer upvotes on Stack Overflow so that they are almost identical to their previous design. New Stack Overflow vote buttons: T…

Hide answer sorting for a single answer
StackExchange hide sorting for a single answer A userscript that removes the sorting combobox in questions when there is only one answer available. Before: After: For users who prefer a cleaner U…

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…

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…

Comment Templates Context Menu, an auto-comments user script
If you are tired of typing the same comments into Stack Exchange sites over and over, you can use this add-on to insert any of your frequently written comments with a couple clicks. Installation I…

Following Overcharged - Various improvements to the "follow" feature
Following Overcharged contains various improvements to the "follow" feature

Userscripts Configurer - One script to configure them all
UserScripts Configurer provides a shared UI and controls configuration options for UserScripters' userscripts.

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…

Post Box Highlighter - Highlight a post box background
Post Box Highlighter is a simple userscript for temporarily highlighting question or answer boxes.

Magic Answer References - a userscript for making proper post referencing easier
Magic Answer References is a userscript making referring to other posts easier.

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.


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…

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…

Control Chat Volume of ping sound in any chatroom
Control the volume of the ping sound in any SE chatroom

Rejoin Favorite Chatrooms
Adds a link to rejoin favorite chatrooms, even if you're in multiple ones already

Add link to network and chat profiles
Adds a link to the network profile for all user profile pages (even if they've hidden the current community) and a link to the chat profile

Stack Overflow /questions design reversion to pre-2022 layout
This set of user styles, written in Stylus, adjusts the CSS of the /questions page (on Stack Overflow and Meta Stack Overflow only) to appear as it did before the recent New post summary designs. T…

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, …

DEPRECATED - Bookmark users - Fetch the list of users that bookmarked a question on any Stack Exchange website
This userscript no longer works because Stack Exchange has replaced bookmarks with "saves" in October 2022. Saves are private and so can't be queried via the Stack Exchange Data Explorer.…

All Communities Loader - making better use of the /users/hidecommunities page
All Communities Loader enhances the /users/hidecommunities page by making better use of the available space and returning all communities instead of 12 at a time

LegacyQuestions - Bringing back the old questions design
Brings back the old questions design changed in a recent redesign

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 …

Garbage (litter) filters - delete custom filters from the "more" dropdown
Garbage filters is a userscript that allows users to delete custom filters from the top dropdown directly without scrolling down to the "custom filters" sidebar.

Question close, reopen, and delete votes in the post sidebar
This is for users that cannot normally see these votes. On Stack Overflow that is less than 3,000 reputation points for close and reopen votes, and 10,000 reputation points for delete votes. The sc…

CollapsibleBanners - Save screen space when viewing questions
Collapses the closed banner to save screen space

Community Diamond Restorer - Add the diamond back to Community's profile!
Restore Community user's diamond.

OBSOLETE - Restore syntax highlighting on review and revision pages
Restore syntax highlighting on revision and review pages

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.