Skip to content

Instantly share code, notes, and snippets.

@tyhallcsu
tyhallcsu / Reddit Mail Redirect Cleaner.user.js
Created April 28, 2024 12:57
Automatically clean and redirect from tracking URLs in Reddit mail links.
// ==UserScript==
// @name Reddit Mail Redirect Cleaner
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Automatically clean and redirect from tracking URLs in Reddit mail links.
// @author sharmanhall
// @match *://*/*
// @grant none
// @icon https://www.google.com/s2/favicons?sz=64&domain=reddit.com
// @run-at document-end
@tyhallcsu
tyhallcsu / tmpdevmodify.sh
Created April 24, 2024 07:48 — forked from jetfir3/tmpdevmodify.sh
Temporarily enable developer mode for the Spotify desktop client on Linux and macOS.
#!/usr/bin/env bash
# Temporarily enable developer mode for the Spotify desktop client on Linux and macOS.
showHelp () {
echo -e \
"Usage: ./tmpdevmodify.sh [option]\n
Options:
-c, --clearcache Clear Spotify app cache
-d, --debug Add Debug Tools to user dropdown menu
@tyhallcsu
tyhallcsu / RARBG Torrents - Dynamic Column Highlighting v5.user.js
Last active April 24, 2024 06:23
This Tampermonkey script enhances your navigation on RARBG by automatically highlighting torrent rows with high seeder counts. It cleverly identifies the specific column labeled 'Seeders' within the torrent table—regardless of its position due to site updates or changes. By dynamically spotlighting these rows, the script makes it significantly e…
// ==UserScript==
// @name RARBG Torrents - Dynamic Column Highlighting v5
// @namespace tampermonkey
// @version 5.0
// @description This Tampermonkey script enhances your navigation on RARBG by automatically highlighting torrent rows with high seeder counts. It cleverly identifies the specific column labeled 'Seeders' within the torrent table—regardless of its position due to site updates or changes. By dynamically spotlighting these rows, the script makes it significantly easier for users to quickly spot the most popular and well-seeded torrents. This feature is particularly useful for distinguishing between torrents at a glance, thereby improving the efficiency of selecting high-quality downloads.
// https://greasyfork.org/en/scripts/493324-rarbg-torrents-dynamic-column-highlighting-v5
// @license MIT
// @downloadURL https://update.greasyfork.org/scripts/493324/RARBG%20Torrents%20-%20Dynamic%20Column%20Highlighting%20v5.user.js
// @updateURL https://update.greasyfork.org
@tyhallcsu
tyhallcsu / WikiArt-Extract-JSON-Data-userjs.js
Last active April 20, 2024 01:14
Verbose Extract Full WikiArt Painting Information [Userscript]
// ==UserScript==
// @name Verbose Extract Full WikiArt Painting Information
// @namespace http://tampermonkey.net/
// @version 2.0
// @description Correctly extracts full painting information from WikiArt pages with verbose logging for debugging purposes
// @author sharmanhall
// @match https://www.wikiart.org/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=wikiart.org
// @grant none
// ==/UserScript==
@tyhallcsu
tyhallcsu / GenerateWP - Unlock Unallowed Modules.user.js
Last active March 14, 2024 23:16
GenerateWP.com - Unlock Unallowed Modules (Tampermonkey Script)
// ==UserScript==
// @name GenerateWP - Unlock Unallowed Modules
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Replace "section-unallowed" with "section-allowed" on GenerateWP pages.
// @author sharmanhall
// @match https://generatewp.com/*
// @grant none
// @license MIT
// @icon https://www.google.com/s2/favicons?sz=64&domain=generatewp.com
@tyhallcsu
tyhallcsu / fix_qbittorrent_win10.reg
Created January 1, 2024 06:16
Fix qBittorrent Magnet File Association Windows 10/11
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE]
[HKEY_CURRENT_USER\SOFTWARE\Classes]
[HKEY_CURRENT_USER\SOFTWARE\Classes\qBittorrent.magnet]
@="URL:magnet"
"Content Type"="application/x-magnet"
"URL Protocol"=""
@tyhallcsu
tyhallcsu / .js
Created September 11, 2023 21:31
Extract Google Business data-pid (v2)
// ==UserScript==
// @name Extract Google Business data-pid (v2)
// @namespace https://example.com/
// @version 0.1
// @description Extracts the data-pid value from a Google Business profile page
// @author Tyler Hall
// @icon https://www.google.com/s2/favicons?sz=64&domain=tylerhalltech.com
// @match https://www.google.com/*
// @grant none
// ==/UserScript==
@tyhallcsu
tyhallcsu / OpenHayStack_Mail_Fix_16.0.sh
Created August 23, 2023 22:02
Fix OpenHayStackMail.mailbundle after MacOS updates (Specifically Tested on Mail v16.0 + OpenHayStack v0.5.2)
#!/bin/sh
# Check if running as root
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
token=`cat /System/Applications/Mail.app/Contents/Info.plist | grep -A1 "PluginCompatibilityUUID" | grep string | sed 's/<string>//' | sed 's/<\/string>//'`
path="/Library/Mail/Bundles/OpenHayStackMail.mailbundle/Contents/Info.plist"
@tyhallcsu
tyhallcsu / hide_wsso_overlay.js
Created August 1, 2023 04:01
This userscript is designed to improve the user experience on WordPress admin pages by hiding a specific element with the class .ab-sub-wrapper. The .ab-sub-wrapper element is commonly associated with the WSSO (WordPress Social Sharing Optimization) overlay, which may sometimes obstruct or interfere with the admin interface. By running this user…
// ==UserScript==
// @name Hide WSSO Overlay
// @namespace http://empathyfirstmedia.com
// @version 1.0
// @description Hides element with class .ab-sub-wrapper on WordPress admin pages
// @author Tyler Hall
// @match *://*/wp-admin/*
// @grant GM_addStyle
// ==/UserScript==
@tyhallcsu
tyhallcsu / Extract Dropbox Image URLs to Clipboard.js
Last active January 17, 2024 22:36
This is a userscript that extracts image URLs from a Dropbox page and copies them to the clipboard when a button is clicked. The script creates a button on the page that, when clicked, scrolls to the bottom of the page, waits for new images to load, and extracts the image URLs. The script then joins the URLs into a string separated by newlines a…
// ==UserScript==
// @name Bulk Export Dropbox Image URLs (2024)
// @version 3.1.1
// @description Extracts image URLs from a Dropbox page and copies them to the clipboard when a button is clicked.
// @author sharmanhall
// @supportURL https://github.com/tyhallcsu/dropbox-image-url-extractor/issues/new
// @namespace https://github.com/tyhallcsu/dropbox-image-url-extractor
// @homepageURL https://github.com/tyhallcsu/dropbox-image-url-extractor
// @license MIT
// @connect greasyfork.org