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.
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…
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…
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
How to get write_access to comment/answer on Stack Exchange
I'm trying to integrate the Stack Exchange API into my web app so I can fetch all posts as well as I can post answer or comments on them. I have successfully got access_token for no_expiry and priv…
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…
Floating vote buttons (script)
Tampermonkey script that brings back an old Stack Exchange feature that never made it out of beta: // ==UserScript== // @name Sticky post vote buttons // @namespace http://tampermonkey.n…
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.…
RO Chat Message Delete Option
Gives room owners the ability to delete other users' chat messages from the message popup menu.
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…
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…
Room Topic Change Helper
When the room topic changes, don't you wish you knew what it used to be before the change? Well now you can! This script automatically updates room topic change posts with the previous topic so you…
Old Meta.SE Stars
This userscript reverts the design of the Meta Stack Exchange buttons: New design: With script: It was inspired by this post on Meta Stack Exchange. Download You can download the script fr…
Do not bug me about questions needing votes too
Description Hide the warning that appears after voting on a certain number of answers without voting on questions in-between. Installation bitbucket.org/.../raw/default/do-not-bug-me-about-question…
Tag highlighting on main SO page
Motivation I recently added more than one "Favourite" tag and got pretty irritated by the sea of yellow on the home page. As such I wrote this little user script (for use in Chrome's Tamp…
User accept rate and home site
It displays the user's accept rate in their userbox on questions (updated to work with Firefox lately), and also the site on which they have the most rep (besides the current one) and the amount o…
Stack User Filter
This Chrome extension helps you keep track of questions by your favorite Stack Exchange users. If you find that some users consistently post questions you enjoy answering, you may want to keep bet…
Impale people on unicorn horns (2014 April Fools' unicorn voting animations on profiles!)
Screenshot In action Code var p="https://i.sstatic.net/" function t(e,b,a,c,f,g){e=$("<div />").css({width:c,height:f,backgroundImage:"url("+p+e+")",position:"absolute",top:a,left:…
Confirm Review Approval
Brings up an extra confirmation dialog when you click "Approve" in the Suggested Edit review queue.
Painfully Obvious Moderators - Know when a post is theirs
Red borders, blinking borders, red overlays, the lot.
HamStare: Basic automation for chat
Get it from Github! HamStare is the last word in disapproving stares. Now, roll your own! Out of the box is how it is configured for me, but if you have a little knowledge of Javascript (or not), i…
Skeet-Lighter - Highlight all Questions/Comments/Answers by Jon Skeet
About This extension will highlight all Questions/Posts/Comments made by Jon Skeet on the StackExchange websites. For those who wish to be notified when Jon has weighed in on a question, Skeet-Li…
I am an awful person and I hate lazers
Don't like the hover animation on Arqade's mothership? You are probably an awful person, but here's a userscript anyway.
Ace Overflow - Google Chrome extension that replaces WMD Editor with Ace on all Stack Exchange sites
Ace Overflow is a Google Chrome extension that replaces WMD Editor with Ace on all Stack Exchange sites.
Link questions in http://sitename.com/reputation
I find the /reputation page on all sites (for example: https://stackoverflow.com/reputation/) to be very helpful. Here is an example of what it looks like: 2 17626610 (10) 2 17626610 (10) 2 …
Code Pen, auto-submission Bookmarklet
CodePen is a new site like our beloved jsFiddle. I like it for two reasons. Zen Coding It has an API So, with the latter I created a bookmarklet. It guestimates what each block of code is (HT…
Moderator links
Adds some extra links to posts and userpages for convenience For a userpage, all links from the "info" mod menu, except "privileges" is displayed along in the "mod"/&q…
IPA Keyboard for Linguistics.SE
This script adds an IPA keyboard button to the editing toolbar Installation Click here to install. Will only work in Chrome or Firefox (the latter requires Greasemonkey). See this page if you ha…
Userscript to provide quick access to canonical questions when voting to close duplicates
ServerFault often gets off-topic questions which are closed as duplicates of a canonical question, such as capacity planning or I've been hacked. I've favourited those canonical questions for quick…
Super Multicollider Dropdown™ Search
Spawned by https://meta.stackoverflow.com/q/138117/178438 This script adds a search box to the multicollider. Installation Click here to install. Will only work in Chrome or Firefox (the latter r…
Literal tabs in textarea
Allows one to use the tab key on StackOverflow, Codereview.SE, and Programmers.SE in the editbox. Installation Click here to install. Will only work in Chrome or Firefox (the latter requires Greas…