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

Select Code Block Buttons Script

Shows a select-button on mouse over on code-blocks to select the whole block for easier copying. Sorry to not provide a file for download but i am sure you will manage somehow, adjust includes as n…

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…

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

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…

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

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…

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…

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…

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…

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…

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…

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…

Link Only Answer Automatic Flagging

Tired of constantly dealing with link only answers in the same monotonous way? Do you want a better use of time while still getting rid of the dumb answers? Here is the solution to that problem!

Following Overcharged - Various improvements to the "follow" feature

Following Overcharged contains various improvements to the "follow" feature

v2.0.1, 0Valt

OBSOLETE - Review Audit Detector

Motivated by the question Would a userscript to determine whether a review is an audit be illegal, I wrote a userscript for this purpose. The algorithm is as follows: If the post score shown in rev…

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…

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 …

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.

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…

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…

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…

OBSOLETE - "Reply" links on comments

Reply to comments with a single click

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…

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…

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…

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…

OBSOLETE - Clipboardy chrome extension to copy posted source to clipboard

Clipboardy is a Chrome extension for copying posted code to clipboard from stackoverflow.com, github.com & npmjs.com

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…

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 …

ChatBot, a bot. For the chat

Lurks in the shadows of the chat. It executes commands at the request of the user, sending messages as the user who runs it. You can talk to it the StackOverflow SandBox room if you want to play (…

v0.0.0, Zirak

OBSOLETE - Freehand Circles Drawing Tool

A userscript that lets you draw directly onto images on any Stack Exchange site to add freehand drawings :)

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…

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…

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

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.

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…

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 …

Stack Exchange - Deleted Answer Manager

Description This script hides the content of deleted answers (which are visible to 10k+ Stack Exchange users), injects a show content / hide content toggle in the answer's menu, and injects a visi…

Why No Bounty? userscript

Inspired by this feature request by Shadow Wizard, I wrote a simple userscript (direct install link) which checks most of the reasons why you can't start a bounty, and displays that information on …

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 …

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…

OBSOLETE - SymbolHound Search

Uses SymbolHound instead of regular search if query begins with "sh:".

Drag+Drop image uploader for Chat

Drag and Drop images into chat! In any chat window, simply drag and drop an image to anywhere in the window to upload it. Bonus! - the image will not be automatically sent, allowing you to edit you…

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…

LegacyQuestions - Bringing back the old questions design

Brings back the old questions design changed in a recent redesign

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

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

Pronoun Assistant Reloaded

Displays users' pronouns (mentioned in their profiles)

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…


1
2 3 4 5
11