Bitlaunch: Unlocks interface

No valid email required for easy checks

  1. // ==UserScript==
  2. // @name Bitlaunch: Unlocks interface
  3. // @name:ru Bitlaunch: Разблокирует интерфейс
  4. // @description No valid email required for easy checks
  5. // @description:ru Для простой проверки не требуется действительный адрес электронной почты
  6. // @namespace bitlaunch-unlock-iface.user.js
  7. // @license WTFPL
  8. // @author askornot
  9. // @match https://app.bitlaunch.io/*
  10. // @version 1.0.1
  11. // @compatible chrome Violentmonkey 2.13.0
  12. // @compatible firefox Greasemonkey 4.10.0
  13. // @compatible firefox Tampermonkey 4.11.6120
  14. // @homepageURL https://greasyfork.org/en/scripts/445741-bitlaunch-unlocks-interface/
  15. // @supportURL https://greasyfork.org/en/scripts/445741-bitlaunch-unlocks-interface/feedback
  16. // @run-at document-end
  17. // @noframes
  18. // ==/UserScript==
  19.  
  20. (function (D) {
  21. 'use strict';
  22.  
  23. function remove(el) {
  24. if (el.parentNode) el.parentNode.removeChild(el);
  25. }
  26.  
  27. const [ body ] = D.getElementsByClassName('modal-open');
  28. const [ backdrop ] = D.getElementsByTagName('bs-modal-backdrop');
  29. const [ container ] = D.getElementsByTagName('modal-container');
  30.  
  31. if (body) body.removeAttribute('class');
  32. if (backdrop) remove(backdrop);
  33. if (container) remove(container);
  34. })(document);