您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically get Hellcase daily free bonus
// ==UserScript== // @name Hellcase Auto Daily Free // @namespace https://github.com/kb1000fx/ToolBox/ // @version 0.1 // @description Automatically get Hellcase daily free bonus // @icon https://cdn.hellcase.com/hellcase/img/web/hw.png // @author kb1000fx // @match https://hellcase.com/en/dailyfree // @grant none // ==/UserScript== (function() { 'use strict'; if($('#btn_open_daily_free span').length){ $('#btn_open_daily_free').click(); setTimeout(() => { location.reload(); }, 3000); }else{ let str = $('.hellcase-btn-success.big.disabled.notavailable span').text().split(" "); let length = str.length; let hr = Number(str[length-4])||0; let min = Number(str[length-2]); let time = (hr * 60 + min + 5) * 60 * 1000; console.log('Page will reload in ' + hr + " hours " + (min + 5) + " minutes."); setTimeout(() => { location.reload() }, time); } })();