Skip to content

Instantly share code, notes, and snippets.

@rf5860
rf5860 / AHKForums_ExpandAllCode.user.js
Last active September 22, 2024 13:29
Expands all code blocks automatically on the AHK forums
// ==UserScript==
// @name AHKForums_ExpandCode
// @description Expands all code blocks automatically on the AHK forums
// @version 0.5
// @namespace https://www.autohotkey.com/boards
// @author rjf89
// @updateURL https://gist.githubusercontent.com/rf5860/835274248c984b7fc59ddc166102f41d/raw/589d4f5d835e6119d5b78b3e83d2862acb232c01/AHKForums_ExpandAllCode.user.js
// @downloadURL https://gist.githubusercontent.com/rf5860/835274248c984b7fc59ddc166102f41d/raw/589d4f5d835e6119d5b78b3e83d2862acb232c01/AHKForums_ExpandAllCode.user.js
// @match https://www.autohotkey.com/boards/*
// @grant none
@rf5860
rf5860 / SurfingKeys.js
Created December 28, 2023 09:59
Surfing Keys JS Config
// The find is positioned at the center.annotation
// For a lot of pages, I have 33% scaling on - so the position is offset based on that (50%/1.33)
settings.theme = `
#sk_find {
position: fixed !important;
left: 37.5% !important;
top: 37.5% !important;
transform: translateY(-37.5% -37.5%);
}
@rf5860
rf5860 / BetterGPT_Undraggable_Inputs.user.js
Last active December 28, 2023 10:40
BetterGPT Undraggable Inputs
// ==UserScript==
// @name BetterGPT Undraggable Inputs
// @description Fixes input behavior on BetterGPT
// @version 0.4
// @namespace https://bettergpt.chat/
// @author rjf89
// @updateURL https://gist.githubusercontent.com/rf5860/ebd6185356900255e7f50241fff4811e/raw/e17b04152cf26ea652986051d35be264bd53d040/VoiceLines%2520to%2520Clipboard.js
// @downloadURL https://gist.githubusercontent.com/rf5860/ebd6185356900255e7f50241fff4811e/raw/e17b04152cf26ea652986051d35be264bd53d040/VoiceLines%2520to%2520Clipboard.js
// @match https://bettergpt.chat/
// @grant none
@rf5860
rf5860 / AHK.user.css
Created December 27, 2023 22:21
UserStyle for AHK Forums
‎‎​
@rf5860
rf5860 / Stylus.user.css
Last active December 27, 2023 21:51
UserStyle to scale the Stylus extension page
/*
==UserStyle==
@name Stylus Scaled Size Extension
@namespace https://github.com/octocat
@version 1.0.0
@description A UserCSS style to scale the size of the Stylus extension (mostly for widescreen)
@author rjf89
@license CC-BY-SA-4.0
@preprocessor default
@var number scale "UI Scale" 1.33
@rf5860
rf5860 / RedditCodeBlockCopy.user.js
Last active December 26, 2023 17:55
UserScript to add a clipboard icon to copy contents of code blocks on reddit
// ==UserScript==
// @name Reddit Code Block Copy
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Adds a clipboard icon to all reddit code elements for easy copying
// @downloadURL https://gist.github.com/rf5860/0e4ec3db775ae666f75ef2b4a24df766/raw/735146381897eb17c7e4a48921890dbc076ae4da/RedditCodeBlockCopy.user.js
// @updateURL https://gist.github.com/rf5860/0e4ec3db775ae666f75ef2b4a24df766/raw/735146381897eb17c7e4a48921890dbc076ae4da/RedditCodeBlockCopy.user.js
// @author rf5860
// @match *://www.reddit.com/r/*
// @grant GM_setClipboard
@rf5860
rf5860 / VoiceLines to Clipboard.js
Last active January 7, 2024 08:41
Script to add a "Copy Link" button for audio files/voicelines on some fandom/Wiki sites
// ==UserScript==
// @name VoiceLines to Clipboard
// @version 0.2
// @description Add a button to copy links for voicelines to the clipboard
// @author rjf89
// @updateURL https://gist.githubusercontent.com/rf5860/ebd6185356900255e7f50241fff4811e/raw/e17b04152cf26ea652986051d35be264bd53d040/VoiceLines%2520to%2520Clipboard.js
// @downloadURL https://gist.githubusercontent.com/rf5860/ebd6185356900255e7f50241fff4811e/raw/e17b04152cf26ea652986051d35be264bd53d040/VoiceLines%2520to%2520Clipboard.js
// @match https://*.fandom.com/wiki/*/Quotes
// @match https://*.fandom.com/wiki/*/Voice_lines
// @match https://*.fandom.com/wiki/*_voice_lines
@rf5860
rf5860 / YouTube Transcript Extractor.user.js
Created August 12, 2023 10:08
Extract and format YouTube video transcripts (Adds a clipboard icon you can press after clicking "Show Transcript" which sets the clipboard to the transcript)
// ==UserScript==
// @name YouTube Transcript Extractor
// @version 0.1
// @description Extract and format YouTube video transcripts (Adds a clipboard icon you can press after clicking "Show Transcript" which sets the clipboard to the transcript)
// @author rf5860
// @match *://*.youtube.com/*
// @grant GM_setClipboard
// ==/UserScript==
(function() {
@rf5860
rf5860 / ChatGPT TopScroll Arrow.user.js
Created July 28, 2023 09:54
Adds a button to scroll to the top of a ChatGPT chat
// ==UserScript==
// @name ChatGPT TopScroll Arrow
// @author rf5860
// @version 1.0
// @description Adds a button to scroll to the top of a ChatGPT chat
// @match https://chat.openai.com/*
// @grant none
// ==/UserScript==
var DEBUG = false; // Set to true to enable debug logging, false to disable