Last active
December 3, 2025 15:58
-
-
Save gsilvan/778f2333992e193cec4fa81d7e474db6 to your computer and use it in GitHub Desktop.
Removes the yellow breaking news banner ("Eilmeldungen") from Spiegel Online. Automatically hides the distracting breaking news section at the top of https://www.spiegel.de for a cleaner reading experience. Compatible with Violentmonkey, Tampermonkey, and Greasemonkey.
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 Disable Spiegel Online Eilmeldungen | |
| // @namespace Violentmonkey Scripts | |
| // @match https://www.spiegel.de/* | |
| // @grant none | |
| // @version 1.0 | |
| // @author Silvan Gümüsdere | |
| // @description 3.12.2025, 16:45:08 | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| function removeEilmeldungen() { | |
| const section = document.querySelector('section[aria-label="Eilmeldungen"]'); | |
| if (section) { | |
| section.remove(); | |
| } | |
| } | |
| removeEilmeldungen(); | |
| const observer = new MutationObserver(() => { | |
| removeEilmeldungen(); | |
| }); | |
| observer.observe(document.body, { | |
| childList: true, | |
| subtree: true | |
| }); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment