Raw Source
qwaranou / HellCaseDailyOpener

// ==UserScript==
// @name         HellCaseDailyOpener
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  Simple HellCase Daily Free opener
// @author       qwaranou
// @match        https://hellcase.com/en/dailyfree
// @downloadURL https://qwaranou.com/hellcaseiddle.user.js
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    var gdf = document.getElementById("btn_open_daily_free");
    function reload() {
        window.location.replace('https://hellcase.com/en/dailyfree');
    }

    if (gdf) {
        document.getElementById("btn_open_daily_free").click();
        setTimeout(reload, 5000);
    } else {
        setTimeout(reload, 5000);
    }

})();