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

learn more… | top users | synonyms (1)

SE Additional Optional Features

There are a lot of feature-request's on Meta that seem useful. I've gone through some of them, and made one userscript to add some of them. All these features are optional and can be enabled/disabl…

Self-destructing comments

I've made a userscript that allows you to self-destruct comments that you've made. You can get it at Github. Get started install Tampermonkey, or Greasemonkey get an access token install the sc…

Close Reason Editor: Customize your off-topic close reasons

This userscript allows you edit the off-topic close reasons which are normally editable only by the site moderators.

Stack Overflow app for Windows Phone 8.1 and Windows 8.1

About Windows Phone and Windows 8.1 don't have a StackOverflow app and I would like to create one for both the platforms. Aim: To create an app that can be used to browse through the questions …

View Post Timeline

Inspired by this MSO question. This tiny userscript will add a link to the timeline for any post, just below the "favorite question" star button. Example image: This is the code: // ==UserScr…

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.

Threaded comments

Display comments on questions and answers in conversation threads instead of linearly

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

PONIES: Hide unwelcome images in chat

Don't like it when chat is flooded with ponies? Too lazy to burn them all? You need PONIES: Protect Oneboxed Nasty Images Everywhere Safely. All oneboxed images are displayed with 0.1 opacity un…

Dude, where's my cursor?

This user script makes editing especially of large posts easier by matching cursor positions in the text box to positions in the Markdown preview and vice versa.

Chatception - quickly chat in different rooms from a single page (v0.3)

TL;DR I got fed up with having 11 chat tabs open all the time and made a userscript to fix it. Screenshot Description A tiny widget that allows you to quickly chat in different Stack Exch…

RPG.SE Chat Fudge dice: a userscript for Fate & Fudge games

Available on Greasy Fork: RPG.SE Chat Fudge Dice RPG.SE's chat rooms support dice rolls as an easter egg. This script will convert d6 rolls that you see into Fudge dice, using the ordinary convers…

'Activity' tab on profile as default

Userscript to set 'Activity' tab on profile as default tab When the new profile page design was released, there was a feature request to make 'Activity' the default tab. Because this got declined,…

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…

Replacing identicons with face-like avatars

This is a tiny script replacing identicons on SE sites with face-like avatars provided by Gravatar. Available as a Chrome extension, and as a source file below. var i, t, images = document.getE…

ArtOfChatbot + Chat API - a customisable chatbot

ArtOfChatbot is a two-part creation: a basic chatbot script, and an API to customise it. It is designed to be: completely in-browser easy to run easy to extend (with some JS knowledge) You can …

SE Chat Modifications — Keyboard navigation and commands for chat

Make chat even more awesome by adding in extensible commands and keyboard navigation

Porkchat: A Chrome extension with lots of chat tweaks!

Porkchat is a Chrome extension that bundles together a lot of scripts I have written for Stack Exchange chat over the years. It is fully configurable - each individual script can be enabled/disable…

StackExchange Election: Primary counter

I want to keep an eye on the votes of the ongoing election, but the unsortedness of the list during the primary election phase makes it hard to keep track of anything. So I wrote a quick script tha…

The Stack Overflow Unofficial Patch (SOUP)

The Stack Overflow Unofficial Patch (SOUP) is a project to collect various minor client-side bug fixes, work-arounds and usability improvements for Stack Overflow and other Q&A sites on the Sta…

Remove chat room description and tags

Chat room description and tags may only be useful a first couple of times you come by a chat room. After that, they are just wasting space. To hide them from the view, you can install the following…

MathJax Buttons

Mathjax Buttons adds convenient buttons and keyboard shortcuts for those who use MathJax on SE

Chat mass-unstar script

We from the Python room like to have a clean list of starred messages, so only relevant and really liked messages stay on the starred list forever. In order to do that, we unstar messages from time…

Chat Starred Images Expander

The Thing This handy little userscript will turn images starred in chat into little thumbnails under the star list. Current features: Oneboxed images in chat will become thumbnails. Add or re…

Answerer Name comment highlighter

Update: This has been added to my Optional Features userscript - please go there for the latest version. After reading this, I really liked the idea, so I made a Userscript to highlight answerer…

Inline editor regardless of rep

The following simple script provides an ability to edit any posts inline regardless of rep (works if logged out also). Download / view code Screenshot from Stack Overflow:

Favourites Enhancer: Tag favourites and add personal notes

Inspired by this question, I've made a userscript that allows you to tag favourites, and add personal notes to them (until SE implements this themselves!): To create favourites When you click on …

Sort Flags By Type

This userscript allows you to sort your flags by type on your flag page. It was inspired by this post on Meta Stack Exchange, and the idea and helper functions were provided by nicael. Download…

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

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…

QuickComment2: Automatic keyboard-only comment snippets

This is a vastly improved version of QuickComment: comment shortcuts to cut down on tedium. See that post for more information. See the Github repo for instructions on how to install and use Quick…

Auto-Load Vote Counts

This script automatically loads vote counts on sites where you have that privilege: Currently, you have to click on a vote score to see individual up/down counts, but this script loads them auto…

Stack Exchange Editor Toolkit

This userscript is a revival of sorts for the old SE Editor Toolkit, which was abandoned some time ago. It only really provides the autocorrect aspect for the foreseeable future, which I find to b…

Click to expand code regions

Script that allows you to click code regions on stack overflow (or other stack exchange sites) and have it expand to whatever size it needs. Get rid of those pesky scroll bars!

Alt Text to Hover Text

When you add an image using Markdown, you are allowed to enter a description: ![This is an image](http://url.toima.ge/) On Stack Exchange sites, this description is reserved for use as alt text …

“Reply” links on comments

Reply to comments with a single click

Timestamps with a day

Another script inspired by a meta question, this will prepend an abbreviated day name to all mouseover UTC timestamps. This script requires Greasemonkey on Firefox and Tampermonkey on Chrome. Othe…

View full image sizes on click

Inspired by a meta question, here's a script that makes every image in a post also open itself at full size in a new window/tab when clicked. It will ignore any images already manually linked. Pl…

Capitalize All Question Titles Everywhere!

Because some like it like that: @namespace url(http://www.w3.org/1999/xhtml); @-moz-document regexp("*.stackexchange.com|superuser.com|askubuntu.com|serverfault.com|mathoverflow.com|stackapps.com|…

Ask Ubuntu Toolbar Buttons - A set of toolbar buttons for Ask Ubuntu that make it easy to insert links to packages, PPAs, etc.

This UserScript adds some buttons to the editing toolbar that allow the following to easily be inserted: Package installation button: Package installation text and icon: stackapplet Manpage l…

Stack Exchange Post Editor - Performing Basic Corrections on Posts Automatically

This script was originally inspired by SE Editor Toolkit. Unfortunately, the toolkit is packaged as a Safari extension and as such is unusable in Chrome, Firefox, and Opera. I had written a PHP scr…

Development and Testing (Placeholder)

For investigation into the SE APIs. There is not much to say here since I am just getting started. May ultimately lead to scripts and/or apps developed on behalf of clients.

Hat Overflow - Show number of Winterbash hats at a glance

This script adds a Winterbash hat-count to every user "Signature block" on questions, answers, review pages, etc. For example: Reference this feature request: Show hat count in user card (next …

Favorite tag highlighting for just the tags

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 …

Collection of time-saving bookmarklets for Stack Exchange sites

My Bookmarklets for Stack Exchange is a collection of 20+ simple bookmarklets for specific tasks that could be done through the interface, but would take longer. Some of them use API, others parse …

Manual Draft Save - Save a draft on demand

This small script adds a save button to the editor bar that allows you to instantly save the contents of the editor as a draft. Although this happens automatically every minute or so, now you can f…

Live Home Page - Never touch the refresh button on the home page of a Stack Exchange site again!

Live Home page is a simple script that continually updates the home page of any Stack Exchange site with new questions and activity.

New tab notifier (Placeholder)

The previous scripts are not working. So I made this script. It shows inbox notifications as [number here] and rep change as [+reps here] in the tab. The script is really simple and m…

SE like I like it userscript

This Greasemonkey / Tampermonkey script mimics the behavior of Notepad++ with keyboard navigation and indents in edit boxes, and adds double-click to select all in code blocks.

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…