DGG - Auto refresh chat

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

// ==UserScript==
// @name        DGG - Auto refresh chat
// @namespace   Jaydr please stop
// @match       https://www.destiny.gg/bigscreen
// @match       https://www.destiny.gg/bigscreen*
// @match       https://www.destiny.gg/embed/chat
// @match       https://www.omniliberal.dev/bigscreen
// @match       https://www.omniliberal.dev/bigscreen*
// @match       https://www.omniliberal.dev/embed/chat
// @grant       none
// @version     0.1
// @author      mif
// @license     MIT
// @description 2024-11-21, refresh DGG chat periodically to disable Jaydr's crypto miner
// ==/UserScript==

(function () {
  'use strict';
  var clicker = function () {
    var e = document.getElementById("refresh");
    if (e) {
      // console.log("Found Button");
      e.click();
      // document.getElementById("refresh").click()
    } else {
      // console.log("No Button found");
      location.replace(location.href);
    }
    // console.log("REFRESHING CHAT OOOO")
  };
  window.setInterval(clicker, 1000*60*60); // 1 ms * 60 seconds * 60 minutes = once per hour
})();

QingJ © 2025

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