-
Notifications
You must be signed in to change notification settings - Fork 0
/
RealPython-Bypass.user.js
20 lines (19 loc) · 1.03 KB
/
RealPython-Bypass.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// ==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
// @downloadURL https://github.com/MichaelYochpaz/User-Scripts/raw/main/RealPython-Bypass.user.js
// @updateURL https://github.com/MichaelYochpaz/User-Scripts/raw/main/RealPython-Bypass.user.js
// @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 *:https://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