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