Hide q-dance chat

Hides the chat on Q-dance livestreams

  1. // ==UserScript==
  2. // @name Hide q-dance chat
  3. // @description Hides the chat on Q-dance livestreams
  4. // @namespace hide-qdance-chat
  5. // @license MIT
  6. // @version 2
  7. // @grant none
  8. // @match https://library.q-dance.com/network/live/*
  9. // @match https://www.q-dance.com/network/live/*
  10. // @match https://live.q-dance.com/*
  11. // ==/UserScript==
  12.  
  13. function hide()
  14. {
  15. let sc = document.getElementById("scrollContainer");
  16. if (sc.classList.contains("col-l--9")) {
  17. sc.classList.remove("col-l--9");
  18. sc.classList.remove("col-m--8");
  19. sc.classList.add("col-l--12");
  20. sc.classList.remove("col-m--12");
  21. }
  22. }
  23.  
  24. setInterval(hide, 250);
  25. hide();