Skip to main content

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.

Filter by
Sorted by
Tagged with

Less underlines in chat

Description The underlines in the Stack Exchange chat can be too much in some cases. This is an attempt to reduce them to reasonable levels. Installation This is available as both a userstyle and a…

AutoReviewComments - Pro-forma comments for SE

No more re-typing the same comments over and over! This script adds a little 'auto' link next to all comments boxes. When you click the link, you see a popup with 6 configurable auto-comments (can…

Navigate through Challenges

Stack Overflow's Challenges can quickly become overwhelming when trying to track which posts you've already read or navigate back to someone's post. There are no pagination and posts are usually qu…

Copy code-blocks from Stack Exchange websites

Highlighting and copying code from questions/answers is not as straightforward as one hopes it'd be. Throughout the years, there were (at least) a couple of userscripts/extensions to address this n…

Flag as Spam Quick Button

"Flag as Spam Quick Button" creates a button next to the Share Edit Follow Flag buttons. This is useful during spam waves where you don't have to click the flag dialog. This is in beta st…

MyStackBot – A Simple Bot to Post and Fetch Stack Overflow Answers via API

App Name: MyStackBot Client ID: 34374 API Key: rl_eaYQSUfy93Eei7G5Z8R8E8t9d This app allows a user to: Fetch their answers from Stack Overflow Post new answers to questions using the Stack Exchang…

Lobby Lighthouse: guiding new Chat users

As part of a recent experiment, two new chat rooms are open to any logged-in users, regardless of reputation or privileges. The new rooms are: Stack Overflow Lobby Stack Exchange Lobby I believe …

Review Keyboard Shortcuts

This script aims to provide something that has been bothering me for the past 6-8 years: Fully enable keyboard shortcuts in review queues. It only provides the ones which are most essential to mode…

Userscript to have functioning spoilers in chat

The main problem with spoiler userscripts for chat is that generally, they require you have the userscript installed in order not to get spoiled. Using cutting-edge Unicode shenanigans, it's possib…

My Stack Overflow Answer Posting Bot

I’ve built a tool that allows programmatically posting answers to Stack Overflow using the StackExchange API. 🛠 What it does: Uses the /answers/add method to post HTML-formatted answers under spe…

Always show all watched tags in right sidebar

Description The watched tags list in the right sidebar are truncated if they exceed a threshold. See Watched Tag list suddenly shortened and requiring manual expansion This userscript addresses thi…

Add a confirmation before deleting a message in chat

Description The delete button in chat removes messages with no confirmation, nor any option to return them. This is a small safety measure - adds a simple confirmation on trying to delete. Installa…

LegacyQuestions - Bringing back the old questions design

Brings back the old questions design changed in a recent redesign

Hide the newly introduced homepage widgets

The new widgets can clutter the homepage for those of us who are not interested in them. I created a simple script that hides the widgets. Although I could not find a good way to restore it to its…

How to Resolve "Applications must have a registered Stack Apps post to write" Error when Requesting Write Access via OAuth?

Question Description: I am developing an application that integrates with Stack Overflow’s API, and I need to enable write access for it. I’ve successfully registered my application on the Stack Ap…

LegacyProfiles - Bringing back the old profile stats

Brings back the 'Member since', 'Profile views' and 'Last seen' stats removed in a recent profile change using the Stack Exchange API

Stack Overflow Extras (SOX)

SOX v2.9.0 Stack Overflow Extras (SOX) is a project that stemmed from the Stack Overflow Optional Features (SOOF) project. The SOX userscript adds a bunch of optional features to all sites in the S…

Pro-forma replies for Discussions

Discussions on Stack Overflow is the place where "Lost Souls" end up these days, worse than meta sites. Discussions moderators (and curators) need to provide some insight on why the post …

OpenAI detector

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

"View Vote totals" without 1000 rep

Curious about the number of up- and downvotes? This script enables the View vote counts feature without requiring 1k+ rep. Available as a Chrome extension, user script and bookmarklet.

Democratizing editing Discussions

Since the introduction of Discussions on Stack Overflow, we have dealt with lack of features. Upon asking for the vital features to be implemented, we have seen some efforts, e.g. an API endpoint f…

PLACEHOLDER - Thomas Ward Testing, Development, and Personal Usage

This is a placeholder post for ongoing usage of my API key(s) for development, testing, and personal usage only. There is no intent to publish or provide public applications, libraries, or scripts …

Delete without refresh

A script that allows you to cast a delete vote on a post immediately after casting a downvote that makes the post score negative, without having to refresh the whole page. // ==UserScript== // @nam…

Expand Code to Fullscreen on StackExchange Site

Edit 2025-09-18 (UTC+8), new version is released. You can get the latest script at GreasyFork. Description Script practice. Toggle Fullscreen on Hover: When users hover over a code block, a 'Ful…

Pronoun Assistant

Displays users' pronouns (mentioned in their profiles)

Pronoun Assistant Reloaded

Displays users' pronouns (mentioned in their profiles)

StackExchange™ SuperCollider Freehand Circle™ Editor - [Now supported on EVERY StackExchange site!]

A UserScript for Meta that makes it extremely simple to draw Freehand Circles™ on any image in a post. The script even goes as far as updating the post with the new image for you.

Enhanced revision view

When visiting an individual post revision page, this script adds: buttons that allow switching to a view showing how the revision differed from the previous one, just like on a full post history p…

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…

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.

Show/hide vote counts for all

Yet another update/rewrite of Rob W’s script. Improvements relative to the older version: no jQuery dependencies – only modern, vanilla JavaScript APIs, making it lightweight and compatible with s…

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.

Fix keyboard shortcuts for navigating lists

Description Inspired from Support paging keyboard shortcuts in NAtOQ 10k-tools and Support paging keyboard shortcuts in Staging Ground. Currently several places that show a paged list of items do n…

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 …

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…

OBSOLETE - Copy Code Exchange - copy code to clipboard from Stack Exchange sites!

This is a userscript to copy code (from any <pre> element) to the clipboard from all Stack Exchange sites. It's pretty nice and cool to be able to copy the code faster, rather than manually s…

'Saviour' of Lost Souls

Adds a shortcut to down-/close-/delete vote and post a welcoming comment to Lost Souls on Meta Stack Exchange and some other sites.

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…

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 …

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…

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…

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…

OBSOLETE - "Reply" links on comments

Reply to comments with a single click

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…

Following Overcharged - Various improvements to the "follow" feature

Following Overcharged contains various improvements to the "follow" feature

v2.0.1, 0Valt

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…

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

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


1
2 3 4 5
11