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.
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…
NATO(Q) keyboard navigation for pages
THIS HAS BEEN SUPERSEDED BY Fix keyboard shortcuts for navigating lists WHICH ADDRESSES THIS AND OTHER KEYBOARD SHORTCUT ISSUES Description Inspired from Support paging keyboard shortcuts in NAtOQ …
Comment Image Upload - upload images directly from the comment box!
Comment Image Upload is a simple userscript that makes uploading images directly from the comment box possible.
Stack Exchange Global Flag Summary
A userscript that provides a networkwide flag summary for all Stack Exchange sites.
Formattingalo: MORE formatting in Chat.SE!
Allows you to underline, color and even resize text on Chat.SE!
Add link to network profile from chat profile
From a chat user profile you only have link to the parent site of a user. This script adds a link to the users network profile for easy access.
View other OP posts in the Staging Ground
During the beta tests in the Staging Ground, there were some cases where the author wrote a posted a copy of the question that bypassed the Staging Ground process. This user script shows me the que…
Question Dashboard (Greasemonkey Script)
Question Dashboard for stackoverflow.com (plus meta, serverfault and superuser) - page analyzed and indicators shown at the top of the question, just under the title, for key information. Downloads…
approved Staging Ground review statistics
Are you curious on how the questions you approved in the Staging Ground are doing or do you want to see statistics for questions approved in the Staging Ground overall? I wrote a user script that q…
Custom Staging Ground Comments
With the release of the Staging Ground on Stack Overflow, I want to share the userscripts I wrote for it during its Beta tests. The Staging Ground offers some built-in comment templates but if you …
WebSocket Defibrilator - try to keep SE websockets (and in-page updates) working
Description Websockets on Stack Exchange provide live updates on a page - for example, showing there are new notifications, or new answers, or new comments, etc. These are unreliable in some cases.…
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…
Unstar/unpin for room owners from a transcript
Let Room Owners unstar or unpin a message from the chat transcript
Show a warning message when you follow a link to a deleted answer or comment
Convenient userscript to show a message when a answer or comment is removed when following a link
OpenAI detector
Adds a button to check the probability that a post was written by a bot
Logout from all devices by default
Description Inspired from Add option to make "log out of all devices" the default Installation Direct install (GitHub) See the code on GitHub // ==UserScript== // @name Logout…
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…
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…
Fix for the network search pagination
Description Problem See the report Pagination on stackexchange.com search is broken The pagination in the global search is broken. It only shows 15 results even when the page size is set to somethi…
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…
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
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…
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…
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…
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…
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…
Flagging Assistant - tweaks for frequent flaggers
Flag summary links, coded history, alert missing answers, and more...
Get fkey button: see your chat fkey without inspecting the source!
Adds a button that tells you your fkey when it's clicked.
Stack Exchange in read-only mode
This userstyle aims to remove almost all interactivity with the Stack Exchange network for logged in users. Notably it leaves: Chat Following a post Saves Removes most other features that produce…
Roomba Forecaster - When will the question be Roomba'ed? If it won't, why?
Will the question be Roomba'ed? If so, when? If not, why? Adds a status line to questions showing: If and when Romba will delete the question; Why it won't be deleted; If down-voting will Roomba.
ChatterBox - user script that adds inbox integration to Stack Exchange Chat!
ChatterBox adds an "inbox" button to the chat interface.
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…
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…
Stack Exchange code block line numbers userscript
A Userscript to add line numbers to code blocks
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.
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…
CommentAssist - Making comments just got easier
A tool that makes writing comments easier by introducing the toolbar found in the answers form over to the comments form
OBSOLETE - Stack Apps Listing Wizard - Making it easier to list your application right here on Stack Apps
Listing an application here on Stack Apps can be a lot of work. First you have to visit this question and copy the markdown. Some of those fields don't apply to UserScripts and some don't apply for…
Voting Overcharged - A userscript for automatically voting on posts depending on various conditions
A userscript for automatically voting on posts depending on various conditions.
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 …
Add a color highlight to closed questions in the question lists
Highlights Closed questions in the question list
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…
Custom Sidebar Links
Allows for adding user-defined links to the left-sidebar on SE sites
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 …
OBSOLETE - Restore syntax highlighting on review and revision pages
Restore syntax highlighting on revision and review pages
Make "Suggested edits" review tasks wider
Ever since the Visual design changes to the review queues suggested edits have been too narrow. Especially when containing code blocks. But it doesn't have to be that way anymore. Screenshots Befor…
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.…
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…
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. …