Skip to content

Instantly share code, notes, and snippets.

@Aran-Fey
Aran-Fey / SOchat_ping_volume_slider.user.js
Last active May 12, 2022 22:32
Click the speaker icon (next to the "all rooms" button) to bring up the volume slider.
// ==UserScript==
// @name SOchat ping volume slider
// @description Adds a slider that lets you adjust the volume of the ping notification sound
// @version 1.0
// @author Paul Pinterits
// @match *://chat.stackoverflow.com/rooms/*
// @grant GM.getValue
// @grant GM.setValue
// @namespace Aran-Fey
// @require https://github.com/Aran-Fey/userscript-lib/raw/60f9b285091e93d3879c7e94233192b7ab370821/userscript_lib.js
// ==UserScript==
// @name StackExchange hide new user's questions
// @description Hides questions from 1 rep users
// @version 1.2.5
// @author Paul Pinterits
// @include /^https?://(meta\.)?(stackoverflow|serverfault|superuser|(.*\.)?stackexchange)\.com(/questions(/tagged/.*)?)?/?$/
// @namespace Aran-Fey
// @require https://github.com/Aran-Fey/userscript-lib/raw/60f9b285091e93d3879c7e94233192b7ab370821/userscript_lib.js
// @require https://github.com/Aran-Fey/SE-userscript-lib/raw/763c94661583ca88491ab6c0616d1a5665224129/SE_userscript_lib.js
// @grant none
@Aran-Fey
Aran-Fey / python_glossary_permalinks.user.js
Last active October 17, 2019 15:06
Adds clickable link anchors to the python glossary
// ==UserScript==
// @name StackOverflow auto edit
// @description Automatically detects low quality questions and attempts to improve them
// @version 1.1.11
// @author Paul Pinterits
// @include *://*.stackexchange.com/questions/*
// @include *://meta.serverfault.com/questions/*
// @include *://meta.stackoverflow.com/questions/*
// @include *://meta.superuser.com/questions/*
// @include *://serverfault.com/questions/*
@Aran-Fey
Aran-Fey / SE_copy_code_to_clipboard.user.js
Last active August 23, 2024 15:35
A userscript for StackExchange that adds a "copy to clipboard" button to every code block. Hovering over the bottom right corner of a code block makes the button appear.
// ==UserScript==
// @name StackExchange copy code to clipboard
// @description Adds a "copy to clipboard" button to each code block
// @version 1.0.10
// @author Paul Pinterits
// @include *://*.stackexchange.com/questions/*
// @include *://meta.serverfault.com/questions/*
// @include *://meta.stackoverflow.com/questions/*
// @include *://meta.superuser.com/questions/*
// @include *://serverfault.com/questions/*
// ==UserScript==
// @name SE reorder favorite tags
// @version 1.0.1
// @description Allows you to reorder your favorite tags with drag'n'drop
// @author Paul Pinterits
// @include *://*.stackexchange.com/questions/tagged/*
// @include *://meta.serverfault.com/questions/tagged/*
// @include *://meta.stackoverflow.com/questions/tagged/*
// @include *://meta.superuser.com/questions/tagged/*
// @include *://serverfault.com/questions/tagged/*
@Aran-Fey
Aran-Fey / simple_video_transcoder_gui.py
Created May 9, 2018 16:50
A very, very simple GUI that lets you transcode videos/gifs. Depends on ffmpeg, which must either be installed or dropped in the same directory as this script. If you want to work with gifs, also install gifsicle in the same manner.
debug = False
debug_output = False
def dbg(*args):
if not debug:
return
print(*args)
import os
@Aran-Fey
Aran-Fey / SE_timeline_link.user.js
Last active June 11, 2020 21:33
A userscript for StackExchange that adds a link to the question's timeline below the question.
@Aran-Fey
Aran-Fey / SO_dupehammer_stopwatch.user.js
Last active May 9, 2018 09:37
A userscript that displays how long it took for a StackOverflow question to be closed as a duplicate.
// ==UserScript==
// @name StackOverflow hammer stopwatch
// @description Displays how long it took for a question to be closed as duplicate
// @version 1.2
// @author Paul Pinterits
// @include *://*.stackexchange.com/questions/*
// @include *://meta.serverfault.com/questions/*
// @include *://meta.stackoverflow.com/questions/*
// @include *://meta.superuser.com/questions/*
// @include *://serverfault.com/questions/*
@Aran-Fey
Aran-Fey / SE_hide_user_posts.user.js
Last active June 11, 2020 21:33
A userscript that hides all answers and comments from certain users on StackOverflow. Currently, the user ids of the blocked users must be edited directly in the script's source code.
// ==UserScript==
// @name StackExchange hide user posts
// @description Hides all comments and answers from blocked users
// @version 1.3.8
// @author Paul Pinterits
// @include /^https?://(meta\.)?(stackoverflow|serverfault|superuser|(.*\.)?stackexchange)\.com/questions(/tagged/.*)?$/?/
// @namespace Aran-Fey
// @require https://github.com/Aran-Fey/userscript-lib/raw/ca6999d1bac2494421b70286f74d7a9a9ba636e7/userscript_lib.js
// @require https://github.com/Aran-Fey/SE-userscript-lib/raw/bf77f40b25d7fa88a6c3f474390c858446154ec2/SE_userscript_lib.js
// @grant none