• BlueKey@fedia.io
    link
    fedilink
    arrow-up
    5
    ·
    11 days ago

    Hier mein Userscript, was den Overlay entfernt (brauchst ein Userscriptplugin dafür).

    // ==UserScript==
    // @name        Fick Heise CookieDlg
    // @namespace   custom::heise
    // @match       https://www.heise.de/*
    // @grant       none
    // @version     1.0
    // @author      -
    // @description 28.5.2024, 09:25:09
    // ==/UserScript==
    
    function run() {
      const homepage = document.querySelector("html div[data-upscore-zone='ho_homepage_full']");
      if(homepage != null) {
        homepage.style.height = "100vh";
        homepage.style.overflow = "scroll";
        return;
      }
    
      const article = document.getElementById("bottom-up") || document.getElementById("meldung");
      if(article != null) {
        article.style.height = "90vh";
        article.style.overflow = "scroll";
        return;
      }
    }
    
    run();