Created
September 12, 2025 01:39
-
-
Save Alsweider/cd0400fbb0b2571ed82b2e6fd838c36f to your computer and use it in GitHub Desktop.
Moviepilot saubere Suche
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Moviepilot saubere Suche | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.0.1 | |
| // @description Entfernt den "Anzeige"-Eintrag aus der Filmsuche auf moviepilot.de | |
| // @author Alsweider | |
| // @match https://www.moviepilot.de/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=moviepilot.de | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| function removeAnzeige() { | |
| document.querySelectorAll('div.sc-76af267a-6').forEach(el => { | |
| if (el.textContent.trim() === "Anzeige") { | |
| const entry = el.closest('a.sc-76af267a-0'); | |
| if (entry) entry.remove(); | |
| } | |
| }); | |
| } | |
| // Änderungen im DOM beobachten (Dropdown wird dynamisch geladen) | |
| new MutationObserver(removeAnzeige).observe(document.body, { childList: true, subtree: true }); | |
| removeAnzeige(); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment