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

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

Add a "Random" Option for Sorting Answers

This is a userscript (for Greasemonkey, Tampermonkey, etc.) for sorting answers to posts randomly, like so: This feature was requested in connection with the Stack Overflow Fall 2015 Moderator Ele…

Early warning for new questions with problematic tags or titles

Leaves a temporary comment on new Stack Exchange questions with problematic tags or titles. Some of the issues detected by the bot: a non-descriptive title a vague tag used as the only tag all tag…

Display tag excerpt tooltips when editing a question

There's a 25-score question on MSE with the same title requesting this feature. The obvious solution: create a userscript to do it. :) You can install the script by clicking here.

Favorite tag highlighting for just the tags [duplicate]

I really liked the idea from Meta of highlighting the tags rather than the entire question - it was too overwhelming, so I created a userscript to do just this: From: To: (favorite tags are pytho…

IGB Stack Flair – A dynamic flair for Stack Exchange sites

IGB Stack Flair at SourceForge How to include IGB Stack Flair in your web page How to integrate IGB Stack Flair into your Wikipedia user page: see Gerold 'Geri' Broser's en:Wikipedia user page see …

Comment Separator Fix

We have this nicely formatted toolbar with all of the moderation tools we need below questions: So, why is it that the separator that goes along with the new comment format looks like this? T…

regex editing tool

find and replace regex tool

Auto-Link - Add links based on personal keywords

What is this exactly? A script that helps with linking recurring recommendations and making answers more user friendly. You can provide a list of global keywords paired with a link and the script …

Simplify Community Bulletin widget

This Stylish script: Hides the recently added bold category titles; Removes post vote counts; Reduces space used by widget. @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain…

Hide chat messages based on content

Want to get those Game of Thrones spoilers out of your chat? Hate certain things? Automatically hide chat messages based on a blacklist of words. Instructions Download the User script Edit IGNORE_…

Old [M]SO Favicon

For those who like their bars substantial.

Hide unwanted questions (Greasemonkey Script)

Simple script to hide questions in Stack Overflow lists so that you don't have to stare at the same questions you are not interested in over & over again.

Script to convert a search on a StackExchange site to a Google search of that site

Convert a search on a StackExchange site to a Google search of that site

User rename script

Keep tabs on the newest help vampires! This script was inspired by my not immediately spotting a help vampire - because of the user32984923874-style default name. It seemed like a good idea at t…

v1.0.0, Benjol

Direct Question Edit Links

This script adds an edit link to the question summary, saving frequent editors the trouble of "entering" the question first. Adjust includes as needed: // ==UserScript== // @name Direct…

stackoverflow favicon counter

Adds unread questions counter to favicon at stackoverflow tags section

v1.0, antyrat

How can I find commonly duplicated questions from stack network dumps?

Why? I got tired of searching for the same duplicate questions over and over again. What? These are a couple of scripts I threw together in order to cut down search time for common questions and…

Autonavigate/autocomment "close/flag offtopic" for MSO

On MSO, there are plenty of questions that should be on SO asked every day. The procedure with dealing with these is: Copy-paste boilerplate comment saying "This belongs on SO blah". Alt…

StackExchange Google Search

Google questions if query begins with "gq:" and user profiles if query begins with "gu:".

Favourite Tags Numerical Keyboard Shortcuts Script

Another short and simple script, it adds numerical keyboard shortcuts to the favourite tags. Only works on those pages which have the favourite tags on them. The default modifier is Alt but the boo…

Chat audio enhancements

Get a special audible alert whenever anyone mentions the word unicorn in chat.

Stack Exchange code block line numbers userscript

A Userscript to add line numbers to code blocks

ChatOvercharged - making inserting markdown links in chat convenient

ChatOvercharged makes inserting markdown-formatted links in chat convenient

Automatically add OP's name in comments on StackExchange sites

Automatically add OP's name in comments on StackExchange sites Converts [user] in a comment to be posted to the OP's username. Originally created to allow comment snippets with [user] included to …

Moving the New Feed Items box to the bottom right

I've created a simple script to move the New Feed Items box to the lower right to avoid it from hiding the chat history: Installation: Just copy the following code in Tampermonkey/GreaseMonkey: //…

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…

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…

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

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

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 …

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…

Post Box Highlighter - Highlight a post box background

Post Box Highlighter is a simple userscript for temporarily highlighting question or answer boxes.

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

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.

Unicode Char Counter - a userscript for making SE's character counter aware of non-ASCII chars 🤦‍♂️

Ever wondered what if Stack Exchange's title character counter could actually count? Unicode Char Counter aims to answer this exact question

Add a color highlight to closed questions in the question lists

Highlights Closed questions in the question list

OBSOLETE - Add a heading when reviewing a suggested edit

Unlike other review queues, the suggested edits queue does not have a heading that indicates whether the edited post is a question or answer. This information is only displayed in small gray colore…

Stack Snippet Lag Fixer

Inspired by this question on SO Meta. Sometimes, when posting or editing posts with one or more Stack Snippets, the editor requires a lot of resources to continuously re-render the post preview. Ty…

StackExchange link newtaber - Open links from questions and answers in new tab

this script opens links from posts and answers in the new tab instead of annoying in-place opening

Incremental Markdown Preview for Stack Exchange

Incremental Markdown Preview is a user script that modifies the Stack Exchange live Markdown preview pane to minimize the number of HTML elements that need to be replace every time the preview is u…

Reading time for each post

Some Question and Answers can get lengthy and you only know when you're going to spend too much time once you're half way. This userscript will add the approximate reading time at the top of each…

Review Assistance 1.0

Review Assistance 1.0 is a script designed to help you review the Close Vote Queue and Reopen Vote Queue in Stack Overflow only. In future, we will look forward to add it's support to all SE sites.…

Good looking, higher quality Stack Exchange flairs!

Higher quality flair for your Stack Exchange accounts. Want a flair like this? Or this: Or even this? It's easy! Simply use this URL: https://timtjtim.co.uk/API/1.0/flair/SITENAME/USERID/COLOR …

Regional 12-hour timestamps

This script displays timestamps based on your timezone in 12-hour format. This is pretty convenient for anyone who doesn't want to convert UTC to their timezone. Requires Tampermonkey or Greasemonk…

Stackuserflow - userscript collection

Script series to modify the functionality of the network sites. Before using them you should have: In Google Chrome install Tampermonkey In Firefox install GreaseMonkey In Opera install Tampermon…

StackOverflow Questions Remap (new nav)

Here's a quick userscript for Tampermonkey/Greasemonkey that lets you remap the Questions button in the new navbar (new as of 2017-02-14) to a different link. For example, if you like to read io…

StackLinks, a URL to Markdown bookmarklet

In aggregating references, this is useful for wrapping a URL and the content of the <title> tag into Markdown: javascript:void(function so_link(){window.prompt('',String().concat("* [",docum…

Anonymize short links [duplicate]

“Share” links under questions and answers include one's UserId, which may not be desirable for those who want to keep separate online identities at SE and elsewhere. (Pointed out at Meta Stack Over…

Show each user's percentile in rep leagues

I've written a userscript to implement the request from Can the stack exchange league tables show percent as well as rank?. Runs in Greasemonkey and probably others. Install Show Rep League Percen…