Skip to content

Instantly share code, notes, and snippets.

View double-beep's full-sized avatar
🏠
Working from home

double beep double-beep

🏠
Working from home
View GitHub Profile
// ==UserScript==
// @name Show me the votes
// @version 1.0
// @description Automatically shows votes on posts where the score is lower than 0
// @author double-beep
// @include /^https?:\/\/\w*.?(stackoverflow|stackexchange|serverfault|superuser|askubuntu|stackapps)\.com\/(questions|posts|review|tools)\/(?!tagged\/|new\/).*/
// @grant none
// ==/UserScript==
(function() {
// ==UserScript==
// @name Toggle the right sidebar
// @version 0.1
// @author double-beep
// @include /^https://(?:[^/]+\.)?(?:(?:stackoverflow|serverfault|superuser|stackexchange|askubuntu|stackapps)\.com|mathoverflow\.net)/questions/\d+/
// @grant none
// ==/UserScript==
(function($) {
$('#question-header').append('<a id="hide-sidebar" style="left: calc(-123px + 100%); top: 61px; position: absolute;">Hide sidebar >></a>');
// ==UserScript==
// @name Review Queue Notifier
// @namespace stackexchange.com
// @version 0.1
// @description Notifies you with a desktop-notification of any reviews on any sites where you have review privileges on
// @author Daniil
// @include /^https://stackexchange.com/users/\d+/
// @grant GM_xmlhttpRequest
// @connect *
// ==/UserScript==
$.post(`/data/sql/queries/run?statement=SELECT+domain_id%2C+domain%2C+tp_count%2C+fp_count%2C+naa_count%2C+post_id+FROM+(%0D%0A++++SELECT%0D%0A++++++++spam_domains.id+AS+domain_id%2C%0D%0A++++++++spam_domains.domain+AS+domain%2C%0D%0A++++++++COUNT(DISTINCT+IF(posts.is_tp+%3D+1%2C+posts.id%2C+NULL))+AS+tp_count%2C%0D%0A++++++++COUNT(DISTINCT+IF(posts.is_fp+%3D+1%2C+posts.id%2C+NULL))+AS+fp_count%2C%0D%0A++++++++COUNT(DISTINCT+IF(posts.is_naa+%3D+1%2C+posts.id%2C+NULL))+AS+naa_count%0D%0A++++FROM+p_spam_domains+AS+spam_domains%0D%0A++++INNER+JOIN+p_posts_spam_domains+ON+spam_domains.id+%3D+p_posts_spam_domains.spam_domain_id%0D%0A++++INNER+JOIN+p_posts+AS+posts+ON+p_posts_spam_domains.post_id+%3D+posts.id%0D%0A++++GROUP+BY+spam_domains.id%0D%0A)+AS+domain_stats%0D%0AINNER+JOIN+p_posts_spam_domains+AS+posts+ON+domain_stats.domain_id+%3D+posts.spam_domain_id%0D%0AWHERE+posts.post_id+IN+(253196%2C+253197%2C+250317)&data_source=main`)
// ==UserScript==
// @name FIRE translator
// @version 0.1
// @description Automatically translates FIRE reports for you.
// @author double-beep
// @match *://chat.stackexchange.com/transcript/*
// @match *://chat.meta.stackexchange.com/transcript/*
// @match *://chat.stackoverflow.com/transcript/*
// @match *://chat.stackexchange.com/users/120914/*
// @match *://chat.stackexchange.com/users/120914?*
// ==UserScript==
// @name Generate Natty Reports
// @namespace https://github.com/SOBotics
// @version 1.0.0
// @author double-beep
// @match https://chat.stackoverflow.com/rooms/111347/*
// @run-at document-body
// @grant GM_addStyle
// @grant GM_xmlhttpRequest
// @grant GM_setClipboard
0i.is
bit.ly
clck.ru
clicky.com
firsturl.de
goo.gl
href.li
is.gd
lnkd.in
shorturl.at
i.stack.imgur.com
christianity.stackexchange.com
www.youtube.com
support.google.com
pastebin.com
stackoverflow.com
msdn.microsoft.com
code.msdn.microsoft.com
security.stackexchange.com
sharepoint.stackexchange.com
@double-beep
double-beep / retrieveDVCV.user.js
Last active May 13, 2021 12:06
A userscript that shows number of DVs and CVs regardless of rep
// ==UserScript==
// @name Retrieve close, reopen and delete votes
// @version 0.5
// @description Show how many delete, reopen and close votes a question has regardless of rep
// @author double-beep
// @include /^https://(?:[^/]+\.)?(?:(?:stackoverflow|serverfault|superuser|stackexchange|askubuntu|stackapps)\.com|mathoverflow\.net)/questions/\d+/
// @updateURL https://github.com/double-beep/my-userscripts/raw/master/retrieveDVCV.user.js
// @grant none
// @license MIT
// @run-at document-end
@double-beep
double-beep / fire_extra.user.js
Last active May 25, 2021 15:31
A userscript that addz some more buttonz to FIRE. See the instructions in the file for using it properly.
// ==UserScript==
// @name FIRE Additional Functionality
// @version 0.3.1
// @author double-beep
// @contributor Xnero
// @match https://chat.stackexchange.com/rooms/11540/charcoal-hq
// @resource whitelisted https://gist.githubusercontent.com/double-beep/db30adf42967187382d2d261bf0a2bc1/raw/whitelisted_domains.txt
// @resource redirectors https://gist.githubusercontent.com/double-beep/ef22d986621ade6cacadae604f20ee59/raw/redirectors.txt
// @grant GM_xmlhttpRequest
// @grant GM_addStyle