From dc61d4fc62159caaf645bfdc83e880fa4b418e6d Mon Sep 17 00:00:00 2001 From: jinglekang Date: Thu, 26 Dec 2024 09:38:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=98=B2=E6=AD=A2=E4=BA=94?= =?UTF-8?q?=E7=9F=BF=E8=B6=85=E5=B8=82=E6=8E=89=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prevent_minmetals_timeout.user.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 prevent_minmetals_timeout.user.js diff --git a/prevent_minmetals_timeout.user.js b/prevent_minmetals_timeout.user.js new file mode 100644 index 0000000..ea6769b --- /dev/null +++ b/prevent_minmetals_timeout.user.js @@ -0,0 +1,19 @@ +// ==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) +})(); \ No newline at end of file