Skip to content

Instantly share code, notes, and snippets.

View dvingerh's full-sized avatar
💭
I may be slow to respond.

Dirk Vingerhoeds dvingerh

💭
I may be slow to respond.
View GitHub Profile
@dvingerh
dvingerh / discord.extrabuttons.user.js
Last active July 30, 2018 01:23
Discord Userscript: Adds a NSFW button and adds a visibility toggle button for the channel bar in the server list. (Extra Buttons In Server List)
// ==UserScript==
// @name Discord Extra Buttons In Server List
// @description Adds a NSFW button and adds a visibility toggle button for the channel bar in the server list.
// @namespace Violentmonkey Scripts
// @grant none
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @match *://discordapp.com/*
// ==/UserScript==
//
var hidden = false;
@dvingerh
dvingerh / discord.extrafilebuttons.user.js
Last active July 30, 2018 01:23
Discord Userscript: Adds a direct download button and an 'open in new tab' button for content such as (embedded) images and uploaded files. (Discord Extra File Button Options v2)
// ==UserScript==
// @name Discord Extra File Button Options v2
// @description Adds a direct download button and an 'open in new tab' button for content such as (embedded) images and uploaded files.
// @namespace Violentmonkey Scripts
// @grant GM_addStyle
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @match *://discordapp.com/*
//
// ==/UserScript==
@dvingerh
dvingerh / discord.hideblocked.user.js
Last active January 9, 2019 07:24
Discord Userscript: Hide Blocked User Message Bar
// ==UserScript==
// @name Discord Hide Blocked User Message Bar
// @description Completely hides the clickable bar to view blocked user messages.
// @namespace Violentmonkey Scripts
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @match *://discordapp.com/*
//
// ==/UserScript==
@dvingerh
dvingerh / hf.unreadpostlink.user.js
Last active March 30, 2018 11:09
HackForums Userscript: Add a 'view first unread post' link to the 'Your Posts' page. (HF View Unread Post Link on 'Your Posts')
@dvingerh
dvingerh / hf.notepadpopup.user.js
Last active March 17, 2017 18:48
HackForums Userscript: Notepad popup for HackForums (HF Notepad Popup)
// ==UserScript==
// @name HF Notepad Popup
// @namespace Notepad popup for HackForums
// @description Notepad popup for HackForums
// @include *hackforums.net/*
// @version 0.1
// ==/UserScript==
//
//
@dvingerh
dvingerh / discord.doubleclickedit.user.js
Last active March 17, 2017 18:47
Discord Userscript: Adds functionality to edit messages by doubleclicking them. (Discord Double Click Edit)
// ==UserScript==
// @name Discord Double Click Edit
// @description Adds functionality to edit messages by doubleclicking them
// @namespace Violentmonkey Scripts
// @grant GM_addStyle
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @match *://discordapp.com/*
//
// ==/UserScript==
@dvingerh
dvingerh / discord.quickdelete.user.js
Last active February 4, 2020 21:14
Discord Userscript: Adds functionality to delete messages faster by ctrl+right-clicking them. (Discord Quick Delete Messages)
// ==UserScript==
// @name Discord Quick Delete Messages
// @description Adds functionality to delete messages faster by ctrl+right-clicking them.
// @namespace Violentmonkey Scripts
// @grant GM_addStyle
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @require https://raw.githubusercontent.com/MichaelZelensky/jsLibraries/master/macKeys.js
// @match *://discordapp.com/*
// ==/UserScript==
var showPopup = false; //If set to true, it won't instantly delete the message but open the confirmation dialog instead
@dvingerh
dvingerh / discord.quickedit.user.js
Last active February 4, 2020 21:14
Discord Userscript: Adds functionality to edit messages by ctrl-clicking them. (Discord Quick Edit)
// ==UserScript==
// @name Discord Quick Edit Messages
// @description Adds functionality to edit messages by ctrl-clicking them
// @namespace Violentmonkey Scripts
// @grant GM_addStyle
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @require https://raw.githubusercontent.com/MichaelZelensky/jsLibraries/master/macKeys.js
// @match *://discordapp.com/*
// ==/UserScript==
@dvingerh
dvingerh / hf.viewselfpostsothers.user.js
Last active April 26, 2017 20:35
HackForums Userscript: View all posts of other users in a thread easily with this script, adding an extra button next to the TS button. (HackForums View Self Posts Other Members Button)
// ==UserScript==
// @name HF View Self Posts Other Members Button
// @namespace HackForums View Self Posts Other Members Button
// @description View all posts of other users in a thread easily with this script, adding an extra button next to the TS button.
// @include *hackforums.net/showthread.php?*
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js
// @version 0.1
// ==/UserScript==
@dvingerh
dvingerh / discord.directvideoembed.user.js
Last active June 16, 2023 18:15
Discord Userscript: Embed MP4 and WebM videos in Discord. (Discord Direct Video Embed)
// ==UserScript==
// @name Discord Direct Video Embed
// @description Embed MP4 and WebM videos in Discord.
// @namespace Violentmonkey Scripts
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @match *://discordapp.com/*
// @grant GM_addStyle
// @grant GM_getResourceText
// ==/UserScript==
(function($) {