From 03150d3f9ee69564d8b4c2b39c163c9c86587c26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=9F=E5=BA=B7?= Date: Thu, 17 Jul 2025 08:20:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20prevent=5Fminmetals=5Ftime?= =?UTF-8?q?out.user.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prevent_minmetals_timeout.user.js | 37 ++++++++++++++++--------------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/prevent_minmetals_timeout.user.js b/prevent_minmetals_timeout.user.js index ea6769b..7202a08 100644 --- a/prevent_minmetals_timeout.user.js +++ b/prevent_minmetals_timeout.user.js @@ -1,19 +1,20 @@ -// ==UserScript== -// @name 防止五矿电商超时掉线 -// @namespace http://tampermonkey.net/ -// @version 2024-11-06 -// @description try to take over the world! -// @author You -// @match https://ec.minmetals.com.cn/mainindex.jsp -// @icon https://www.google.com/s2/favicons?sz=64&domain=minmetals.com.cn -// @grant none -// ==/UserScript== - -(function () { - 'use strict'; - // Your code here... - setInterval(async () => { - const res = await fetch('https://ec.minmetals.com.cn/secure/module/workspaces/page/modify-information') - console.log('res:', res) - }, 1000 * 60) +// ==UserScript== +// @name 防止五矿电商超时掉线 +// @namespace http://tampermonkey.net/ +// @version 2024-11-06 +// @description try to take over the world! +// @author You +// @match https://ec.minmetals.com.cn/mainindex.jsp +// @match https://ec.minmetals.com.cn/logonAction.do +// @icon https://www.google.com/s2/favicons?sz=64&domain=minmetals.com.cn +// @grant none +// ==/UserScript== + +(function () { + 'use strict'; + // Your code here... + setInterval(async () => { + const res = await fetch('https://ec.minmetals.com.cn/secure/module/workspaces/page/modify-information') + console.log('res:', res) + }, 1000 * 60) })(); \ No newline at end of file