RealPython Registartion Pop-up Bypass

Remove registration / login pop-up on realpython.com.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name        RealPython Registartion Pop-up Bypass
// @description Remove registration / login pop-up on realpython.com.
// @namespace   https://github.com/MichaelYochpaz/User-Scripts
// @homepageURL https://github.com/MichaelYochpaz/User-Scripts
// @supportURL  https://github.com/MichaelYochpaz/User-Scripts/issues
// @icon        https://cdn.realpython.com/static/favicon.ico
// @author      Michael Yochpaz
// @license     MIT
// @version     1.0.4
// @include     *://realpython.com/*
// @grant       GM_addStyle
// @run-at      document-idle
// ==/UserScript==

document.getElementsByClassName("modal-backdrop")[0].remove(); // Remove Backdrop (black background)
GM_addStyle (`.modal {display: none !important}`); // Remove Modal (registration pop-up)
GM_addStyle (`.modal-open {overflow: scroll !important}`); // Restore Scrolling