Greasy Fork is available in English.

ig-shutup

block instagram login popup and re-enable scroll

// ==UserScript==
// @name         ig-shutup
// @namespace    http://tampermonkey.net/
// @version      1.2
// @description  block instagram login popup and re-enable scroll
// @author       tlrib
// @match        https://www.instagram.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    let observer = new MutationObserver((mutations) => {

        mutations.forEach((m) => {
            m.target.style.overflow = "scroll";

            if (document.querySelector("body > div.RnEpo._Yhr4")) {
                console.info("IgShutup: removing login popup");
                document.querySelector("body > div.RnEpo._Yhr4").remove();
            }
        });
    });

    observer.observe(document.querySelector("body"), {
        attributes: true,
    });
})();