Skip to content

Instantly share code, notes, and snippets.

@gsilvan
Last active December 3, 2025 15:58
Show Gist options
  • Select an option

  • Save gsilvan/778f2333992e193cec4fa81d7e474db6 to your computer and use it in GitHub Desktop.

Select an option

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.
// ==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