Skip to content

Instantly share code, notes, and snippets.

@muhdiboy
muhdiboy / ytm_ai_blocklist.txt
Created June 25, 2026 02:32
(mostly) Turkish AI artists on YouTube Music to block
https://music.youtube.com/channel/UC_e_unlrO_OcnUE2AGI90hg
https://music.youtube.com/channel/UC_IhOXSCOxF-D_K8IVsP3kQ
https://music.youtube.com/channel/UC_mgTjOHd2FIhhCrg7fPHVA
https://music.youtube.com/channel/UC-0SC65zyQeFvAIVCBdd3Pg
https://music.youtube.com/channel/UC-4WlOo2UWUS7uwgVcoS9LQ
https://music.youtube.com/channel/UC-5vyAQYzUrANzujBotNBvw
https://music.youtube.com/channel/UC-ni97X8XGIAGE2TZTxzvhg
https://music.youtube.com/channel/UC0-JFMVeojUGq7sR0N0tpow
https://music.youtube.com/channel/UC0bObd86Dyq8yb8DKaBkt2g
https://music.youtube.com/channel/UC0Vkm3afcCLV7ExzpsHQ5cg
@muhdiboy
muhdiboy / ytm-block-artist.md
Last active June 26, 2026 00:55
YouTube Music automated bulk dislike all releases from specific artists

YTM Block Artist

A userscript that dislikes every song and video from artists you never want to hear again on YouTube Music.
Disliking is the best signal available to tell the algorithm to stop pushing an artist at you, though it's not a hard block.
Some players have a feature to skip disliked songs though, which makes this even more effective.

I built this to deal with the flood of AI-generated artists on YouTube Music, the kind that spam hundreds of single-track releases to game the algorithm.
Going through them manually isn't realistic, so this automates it.

What it does

@muhdiboy
muhdiboy / mediamarkt-handy-tarife-calculator.md
Last active June 21, 2023 02:06
Mediamarkt Handy Tarife On-Site Calculator script

Mediamarkt Handy Tarife Kalkulation

Dies ist ein UserScript, mit dem auf der Mediamarkt Tarifwelt "Smartphones mit Vertrag" Seite (https://tarife.mediamarkt.de/smartphones/) die Gesamtsumme von jedem angebotenen Vertrag eines Smartphones berechnet wird.

Funktion

Es wird die monatliche Grundgebühr, der einmalige Anschluss- und Gerätepreis inkl. Versand sowie jeglicher Bonus (z.B. Rufnummernmitnahme) mit einbezogen. Daraus wird dann eine neue Summe (für 2 Jahre) und ein neuer monatlicher Durchschnittspreis ermittelt.

Anhand dessen können alle Verträge neu sortiert werden, indem sie nach Gesamtpreis aufsteigend geordnet werden. Es ist außerdem möglich, einen Verkaufspreis einzugeben, falls man vorhat, das Gerät zu verkaufen. Daraus ergibt sich dann eine neue Summe und ein neuer monatlicher Durchschnittspreis.

Voraussetzungen

@muhdiboy
muhdiboy / lastfm-automated-remove-duplicates.md
Last active June 26, 2026 00:51
LastFM automated duplicate scrobble deletion script

Why would I need this?

Your scrobbler might have decided to scrobble every song hundreds of times, and you can't really remove those scrobbles efficiently. Or you might have accidentally installed multiple scrobbler extensions at the same time - wondering why multiple scrobbles appear for every song played at a time - and you want to clear them after finding the issue.

Using this script still doesn't necessarily make the process quick, since Last.fm only displays a limited number of scrobbles that can be removed on each page of your library, and also rate-limits how many pages you can load in quick succession. The difference from the implementation of @sk22 and its forks - which this UserScript is derived from - is that you don't run it manually on every page. You set your options once, click START, and the rest of the process is automated: the script works its way back through your library and stops automatically at the page you choose.

Installation

Prerequisites