Melee Autorefresh

Refresh the list of tournaments, players, or matches every 30 seconds on mtgmelee.

// ==UserScript==
// @name         Melee Autorefresh
// @namespace    http://tampermonkey.net/
// @version      1.0.3
// @description  Refresh the list of tournaments, players, or matches every 30 seconds on mtgmelee.
// @author       Dan Collins <[email protected]>
// @website      https://github.com/dcollinsn/melee-tampermonkey
// @match        https://mtgmelee.com/Hub/View/*
// @match        https://mtgmelee.com/Tournament/Control/*
// @match        https://melee.gg/Hub/View/*
// @match        https://melee.gg/Tournament/Control/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=mtgmelee.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    setInterval(function(){
        $('.data-tables-refresh-button').click()
    }, 30000);
})();