Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [userscript]

Userscripts primarily refer to JavaScript extensions for web browsers, used to automate or customize actions.

Filter by
Sorted by
Tagged with
78
votes
6answers
7k views

You hate h̶a̶t̶s̶ reputation? Click here to get rid of it

Soo... I recently read a meta-post about the inherent problems of reputation. It listed some things like: Confirmation bias. Demotivating for low-rep users. Hubris and elitism of high-rep users over ...
39
votes
1answer
449 views

Beta-Blue B. Gone

I've written a Code Review design using Userscripts and CSS. It works by fetching the CSS from my GitHub repo, and using the built in gm_addStyle function to add ...
27
votes
2answers
664 views

Desktop Notifications for flags and queue items

After our recent election, I got elected as a moderator here on Code Review (Thank you, community members!). One of the first things I missed among the moderator tools was desktop notifications for ...
23
votes
2answers
560 views

Code-Q2A - copy code blocks from questions to answers

I came up with an idea for a userscript to simplify writing answers on Stack Exchange while writing a previous answer. This userscript adds "Review"-links on the top of each code segment. When ...
20
votes
2answers
279 views

Stack Exchange Post Reminder

I've created a UserScript for adding follow-up reminders to any post (question or answer) here on the Stack Exchange network. I did this in response to a stackoverflow meta post feature request which ...
15
votes
2answers
595 views

Stack Exchange Chat Caret Pathfinder

In The Nineteenth Byte, we have an excessive amount of carets (carrots, if you will) that direct one's attention to another message. For example: Amidst the confusion, I made a userscript that ...
15
votes
3answers
197 views

GitHub link oneboxer for chat

I've made a userscript that oneboxes links to GitHub repos, issues or pull requests in Chat after seeing the request One-box repositories, issue tickets and such on GitHub in the chat on Meta. It ...
14
votes
2answers
217 views

OLog Userscript - Logging messages, planets and researches

For the online text-based browser game OGame I am working on an application with as aim to assist the users where possible, for this I have a server-side part and a client-side part, the respective ...
13
votes
1answer
177 views

Make Stack Overflow Design Great Again

I've been annoyed with the new side bar layout, so I chose to hide it. But then, the useful links were gone, so I decided to make this little user script in Tampermonkey to bring them back to [roughly]...
12
votes
1answer
155 views

The Stack Exchange Editor Toolkit

I recently joined this GitHub project based on a user script that offers a powerful editing tool to Stack Exchange Editors. My Goal: In the past few days, I've spent many hours improving the code, ...
12
votes
2answers
82 views

Stack Exchange moderation-action auto-comments

I've written a userscript that pops up a dialog before you take a moderation action (closing, deleting) with some pro-forma comments, so that you can add one of those before you cast your vote. I'm ...
11
votes
2answers
227 views

Showing links to Contributor Breakdown on Stackoverflow Docs

So Stackoverflow Documentation has added "Contributor Breakdown". For any given topic (and example) people can display who contributed in which way. That page is only available if you know the link ...
10
votes
2answers
96 views

Hot Post-ato Guessing Game

On almost every page in the Stack Exchange Network, there lives a list of some the current "hot" questions across the network (sometimes abbreviated HNQs). Some of these posts have very exotic titles (...
10
votes
1answer
105 views

The Handy-Dandy Apocalypse Assistant

Code Review is running rampant with an infection. A zombie infection. Everywhere posts are becoming rapidly mutated into slobbering, green freaks of nature. But the citizens of Code Review are not ...
10
votes
1answer
91 views

Vote Count Viewer

I've written a small script to enable the vote count viewing functionality that comes for users at 1k reputation: ...
10
votes
2answers
75 views

Badge Oneboxer for Chat.SE

This script makes it possible for badges to onebox in Chat. The install requires Tamper/GreaseMonkey. Click here to install, and it's on GitHub and StackApps! ...
10
votes
1answer
101 views

Userscript for easily replying in Stack Exchange chat

In SE chat, there are two different ways to mention people: A "ping" to just get a user's attention, and a "reply" that points out a specific message by the user. This script makes it so that ...
8
votes
2answers
242 views

Desktop notifications for queue items

I wasn't satisfied with Simon's alert on the orange alert. I wanted to know if even 1 review item was available, so I made some modifications to the userscript so that it runs on the Review page, and ...
8
votes
2answers
206 views

Stack Overflow tab notifier user-script

I searched for a notification script that shows inbox and rep change items on the browser tab in stackapps.com but either they didn't work or were outdated. So, I've done this raw script myself and ...
8
votes
1answer
234 views

“Block a website” script with vanilla JavaScript

I use this script to block access to a one or more websites with vanilla JavaScript. I find that it helps me avoid some addictive news websites that make me depressed. (Credit to Marat Tanalin for ...
8
votes
1answer
127 views

Smoke the SmokeDetector

In Tavern on the Meta, our spam detector is a bot named SmokeDetector. While you can ignore the bot, you can't ignore specific replies to Smokey without ignoring users, so I wrote a UserScript to ...
7
votes
2answers
93 views

Add timeline link to questions and answers on Stack Exchange

The following script is meant to be a user script, but it should work on the console. It takes the id of the question and adds the corresponding /posts/id/timeline ...
6
votes
2answers
174 views

Adding links to tags on StackExchange sites

This Greasemonkey script adds links to tags on StackExchange sites which allow for activating, deactivating and ignoring favorite and related tags by using UI components. Since JavaScript is not my ...
6
votes
2answers
83 views

Stack Exchange userscript for showing spoilers on questions with particular tags

Stack Exchange sites support hiding text as a spoiler with >!; for example: This gets a lot of use on the Sci-Fi & Fantasy stack, usually to cover up key ...
6
votes
1answer
85 views

Desktop Notifications for Queue Items - Updated Code

A while ago I took one of @Simon's scripts and updated it to make it more geared towards normal users (no offense mods) and this Question was created. But the link to the Github is no longer correct ...
5
votes
1answer
80 views

Show number of pages next to Flickr threads

This is a userscript that simply adds the number of pages that a thread has next to its title for Flickr interface. (FWIW it's not really done because the script is only loaded at page load, but not ...
5
votes
1answer
51 views

Condensing a Table

Among the mod-tools there is a few that are intended to just help get a bird's eye perspective on what happens on the site. These tools generally consist of tables. Tables over tables. Stuff that ...
4
votes
2answers
94 views

UserScript that summarizes Stack Exchange flag counts

I am working on a UserScript that displays total flag counts and other information on the Flag Summary page. Example: Everything is working correctly but this bit of code seems rather repetitive ...
4
votes
1answer
509 views

Userscript to tighten security in Mozilla Firefox

I have recently started writing a userscript for Mozilla Firefox to tighten security and make it more private, but before I want to start publishing it, I would like to have some experts take a look ...
4
votes
2answers
758 views

Greasemonkey Fantasy Football script

I have the following Greasemonkey script that fetches some data from a Yahoo webpage and injects it into a webpage. It has the feature that it only fetches the data once per day instead of fetching it ...
4
votes
1answer
130 views

Onebox hider for Stack Exchange chat

I sometimes don't like to look at images in chat. When they're just a URL then I'm fine, as then I have the choice to look at the image or not, and blends in with the other text. Therefore, I decided ...
3
votes
2answers
322 views

Colors for unvisted, visited and hovered/focused/active links

I've created a userscript for Tampermonkey to style unvisited links with blue color, visited links with violet color, and red for hovered/active/focused links. It was created primarily for my ...
3
votes
1answer
91 views

JSON photo data parsing

So this original piece of code: ...
3
votes
1answer
56 views

Userscript to redirect insecure pages to HTTPS

I am developing a userscript that redirects insecure pages (HTTP) to the https: version. ...
3
votes
1answer
59 views

SmokeDetector report notifier

This script is a userscript designed for giving a notification when the bot SmokeDetector posts a message in the Charcoal HQ or any other room were he is active. The script has 3 modes of operating, ...
3
votes
1answer
3k views

Greasemonkey script to refresh page until target string is found

I've been working on this user script to hunt for a specific string in an HTML webpage with the goal of finding the time at which it appeared. This feels needlessly complicated and I would like ...
3
votes
1answer
141 views

Userscript hiding boxes on LinkedIn

When looking at people you may know on LinkedIn (requires you to be logged in) there are sometimes some annoying boxes that are for people who are email contacts but not on LinkedIn. I don't want to ...
3
votes
1answer
114 views

Optimize CSS Rule Dumper

I have written the following Tampermonkey/Greasemonkey script. I am trying to obtain a list of all CSS rules for a page; across all stylesheets. As of now, I am just iterating over everything. Is ...
3
votes
1answer
64 views

Altering SE sites to imitate SO's appearance

Some time ago someone complained that sites that were not stackoverflow were hard to read at work since people might be screen watching. So I bashed some code and created SO-ify. Some time and several ...
3
votes
1answer
96 views

Stopping Google from tracking Search results

I've created a brief UserScript (GitHub repository) for TamperMonkey to stop Google from hijacking Search results URLs for tracking purposes when you click them: ...
2
votes
1answer
846 views

TamperMonkey script to add a button to Jira

The below script detects whether we are in Jira, and if it is run in Jira it will add a button. Clicking that button will use the REST API of Jira to create an issue, and navigate to the recently ...
2
votes
1answer
113 views

Tampermonkey script to beautify related tags in Stack Exchange

I've got the following code which is ran inside tampermonkey (It's a userscript), but there is a variable that is being declared, used, then overwritten by the next line. I'm looking for a way to ...
2
votes
1answer
71 views

Sort Facebook Messenger contacts by idle time

I wrote a UserScript that auto-sorts contacts by offline time using the MutationObserver API. I tried to make it as DRY as I could think, and I also tried to make my code as straight-forward as ...
2
votes
1answer
36 views

Prepending textbox to Wikipedia thumbnail picture

I'm working on small Javascript code that adds text from a clicked-href to the top right corner of the Wikipedia page. So for example, if I click the "Jamaican" link in Sly and Robbie, a textbox would ...
2
votes
0answers
34 views

Userscript to add Prettify extensions on SE

I wrote a userscript (to be run with Greasemonkey/Tampermonkey on Stack Exchange sites) to include a Prettify extension and enable syntax highlighting for a language which isn't supported by default. ...
2
votes
0answers
49 views

UserScript that tracks Views Since Last Visit

I try keep an eye on any questions or answers that I have posted here within the StackExchange network and I like to prioritize my updates and improvements based on ones that get frequent visits. I ...
1
vote
2answers
90 views

Font and color checker chrome extension in JavaScript

I have written this code for a color and font checker on a webpage. The code is current and not so good. I would really like if I can get comments, reviews or any better approach for my PoC. PoC: I ...
1
vote
2answers
234 views

Greasemonkey script for filtering out results from experteer.com

I've written a GM script to filter some results from Experteer.com results: specifically, many of the rows are "only for Premium members" and don't allow you to click through or see details, so I've ...
1
vote
1answer
87 views

UserScript to Highlight tab for queue item

It may seem a bit obsessive and/or pedantic, but the following script allows me to see when posts are ready for reviewing. I developed this UserScript for use with TamperMonkey to allow me to have a ...
1
vote
0answers
502 views

TypingTest Autotyper Userscript

For fun, I decided to inspect the obfuscated source code on TypingTest and figure out how to write an auto typer for it. I came up with the following UserScript. A couple of notes: The site's code ...