DGG - Auto refresh chat

2024-11-21, refresh DGG chat periodically to disable Jaydr's crypto miner

  1. // ==UserScript==
  2. // @name DGG - Auto refresh chat
  3. // @namespace Jaydr please stop
  4. // @match https://www.destiny.gg/bigscreen
  5. // @match https://www.destiny.gg/bigscreen*
  6. // @match https://www.destiny.gg/embed/chat
  7. // @match https://www.omniliberal.dev/bigscreen
  8. // @match https://www.omniliberal.dev/bigscreen*
  9. // @match https://www.omniliberal.dev/embed/chat
  10. // @grant none
  11. // @version 0.1
  12. // @author mif
  13. // @license MIT
  14. // @description 2024-11-21, refresh DGG chat periodically to disable Jaydr's crypto miner
  15. // ==/UserScript==
  16.  
  17. (function () {
  18. 'use strict';
  19. var clicker = function () {
  20. var e = document.getElementById("refresh");
  21. if (e) {
  22. // console.log("Found Button");
  23. e.click();
  24. // document.getElementById("refresh").click()
  25. } else {
  26. // console.log("No Button found");
  27. location.replace(location.href);
  28. }
  29. // console.log("REFRESHING CHAT OOOO")
  30. };
  31. window.setInterval(clicker, 1000*60*60); // 1 ms * 60 seconds * 60 minutes = once per hour
  32. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址