增加防止五矿超市掉线
This commit is contained in:
parent
47d57900ae
commit
dc61d4fc62
|
|
@ -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)
|
||||||
|
})();
|
||||||
Loading…
Reference in New Issue