Skip to content

Instantly share code, notes, and snippets.

@qubodup
qubodup / FandomCollapsibleSections.user.js
Created September 19, 2025 13:34
Collapse mobile Trending articles, Trending pages, Popular categories sections just like the rest of 'em!
// ==UserScript==
// @name Fandom Collapsible Sections (Persistent + Fandom Chevron)
// @namespace http://tampermonkey.net/
// @version 1.2
// @description Add collapse/uncollapse toggles to trending and popular sections on Fandom wikis with per-page persistence and proper chevrons
// @author whelp
// @match https://*.fandom.com/*
// @grant none
// ==/UserScript==
0.000000 0.741723
0.741723 2.049478
2.049478 2.766893
2.766893 4.752766
4.752766 5.227438
5.227438 6.398889
6.398889 9.395465
9.395465 16.328435
16.328435 17.224671
17.224671 18.269592
@qubodup
qubodup / FandomAudioBrowser.user.js
Last active September 4, 2025 09:52
Fix broken audio embeds on Fandom Special:NewFiles and in Categories + enhance NewFiles gallery with filenames and repositioned captions
// ==UserScript==
// @name Fandom Audio Browser
// @namespace https://tampermonkey.net/
// @version 2025-09-04
// @description Fix broken audio embeds on Fandom Special:NewFiles and in Categories + enhance NewFiles gallery with filenames and repositioned captions
// @author Some BODY once TOLD me
// @license CC0 1.0 Universal
// @match https://*.fandom.com/wiki/*
// @grant none
// ==/UserScript==
@qubodup
qubodup / FreesoundModDeleteUsername.user.js
Created September 3, 2025 21:00
Delete pending sound by username in queue semi-automation
// ==UserScript==
// @name Freesound Mod DELETE USERNAME
// @namespace http://tampermonkey.net/
// @version 2025-09-03
// @description Automate moderation checks with page redirection
// @include /^https:\/\/freesound\.org\/tickets\/moderation\/assigned\/\d+\/(?:\?.*)?$/
// @grant none
// ==/UserScript==
(function() {
@qubodup
qubodup / google2tsv.js
Created June 19, 2024 11:36
Scrape Google results page to csv (tsv, tab separated) userscript only link and title
// https://stackoverflow.com/a/26573281/188159
javascript: (function (){
function l(u, i) {
var d = document;
if (!d.getElementById(i)) {
var s = d.createElement('script');
s.src = u;
s.id = i;
d.body.appendChild(s);
}
{"name":"drumbit","metadata":{"author":"qubodup","title":"Hectic Drumbit Loop 112bpm","remarks":"CC0"},"options":{"tempo":112,"swing":0,"kit":"11","effect":{"id":"1","level":0.8},"compressor":{"bypass":0,"threshold":-20,"ratio":4,"attack":0.0010000000474974513,"release":0.25,"knee":5},"lowpass":{"bypass":1,"frequency":350,"q":1},"highpass":{"bypass":1,"frequency":800,"q":1}},"pattern1":{"track1":{"vol":1,"pan":0,"pitch":1,"steps":[0,0,0,0,1,0,0,0,0,0,0,1,1,0,0,0]},"track2":{"vol":0.3,"pan":0,"pitch":0.6,"steps":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"track3":{"vol":0.5,"pan":0,"pitch":1,"steps":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"track4":{"vol":1,"pan":0,"pitch":1,"steps":[0,1,0,0,0,0,0,1,0,1,0,0,1,0,0,0]},"track5":{"vol":1,"pan":0,"pitch":0.7,"steps":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"track6":{"vol":1,"pan":0,"pitch":1,"steps":[0,0,1,0,0,1,0,0,1,0,0,1,0,1,1,0]},"track7":{"vol":1,"pan":0,"pitch":1,"steps":[0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0]},"track8":{"vol":1,"pan":0,"pitch":1,"steps":[1,0,0,0,0,0,0,0,0,0,0,0,0,0,
@qubodup
qubodup / freesound describe sounds compact 2024
Last active May 23, 2024 17:38
Freesound Upload "Describe sound files" minimizer userstyle made in 2024 (use with Stylus extension) screenshot: https://i.imgur.com/cfqZo1R.png
@-moz-document url-prefix("https://freesound.org/home/describe/sounds/") {
/* just crush it */
div.container {
padding: 0;
}
div[id^='form']:nth-child(2n) {
background-color: #ddd;
}
@qubodup
qubodup / OpenClipart Tag Copy Helper
Created August 10, 2023 13:09
Copy OpenClipArt tags easily from a text box
// ==UserScript==
// @name OpenClipart Tag Copy Helper
// @namespace https://github.com/qubodup
// @version 0.1
// @description makes copying tags easier, for remixing
// @author qubodup
// @match https://openclipart.org/detail/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=openclipart.org
// @grant none
// ==/UserScript==
# The code is dedicated to the public domain https://creativecommons.org/publicdomain/mark/1.0/
# A very simple Flask Hello World app for you to get started with...
# SECURITY RISK START
FSKEY = "FREESOUND API KEY"
# SECURITY RISK OVER
html_header = """<!DOCTYPE HTML>
<html>
@qubodup
qubodup / noclassnoid.js
Created July 2, 2022 14:01
Get all elements without ANY class or id. then use :not([id]) or :not([class]) or div:not([id]):not([class]) to dominate it
$('div').each(function() {
if (!(this.hasAttribute('class') || this.hasAttribute('id'))) {
console.log("OMGvvv");
console.log(this);
console.log("OMG^^^");
}
});