更新 prevent_minmetals_timeout.user.js

This commit is contained in:
竟康 2025-07-17 08:20:55 +08:00
parent dc61d4fc62
commit 03150d3f9e
1 changed files with 19 additions and 18 deletions

View File

@ -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)
})();