Created
April 19, 2022 01:27
-
-
Save imfing/d291f265527324c17bb3a5f9c5576db2 to your computer and use it in GitHub Desktop.
Tampermonkey script to block registration on realpython.com
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 Realpython Popup Remover | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Block realpython registration | |
// @author You | |
// @match https://realpython.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=realpython.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
document.getElementById("rprw").style.visibility = "hidden"; | |
document.body.classList.remove("modal-open"); | |
document.getElementsByClassName("modal-backdrop")[0].remove(); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment