RealPython Registartion Pop-up Bypass

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

  1. // ==UserScript==
  2. // @name RealPython Registartion Pop-up Bypass
  3. // @description Remove registration / login pop-up on realpython.com.
  4. // @namespace https://github.com/MichaelYochpaz/User-Scripts
  5. // @homepageURL https://github.com/MichaelYochpaz/User-Scripts
  6. // @supportURL https://github.com/MichaelYochpaz/User-Scripts/issues
  7. // @icon https://cdn.realpython.com/static/favicon.ico
  8. // @author Michael Yochpaz
  9. // @license MIT
  10. // @version 1.0.4
  11. // @include *://realpython.com/*
  12. // @grant GM_addStyle
  13. // @run-at document-idle
  14. // ==/UserScript==
  15.  
  16. document.getElementsByClassName("modal-backdrop")[0].remove(); // Remove Backdrop (black background)
  17. GM_addStyle (`.modal {display: none !important}`); // Remove Modal (registration pop-up)
  18. GM_addStyle (`.modal-open {overflow: scroll !important}`); // Restore Scrolling