处理后台脚本API

This commit is contained in:
2025-04-10 18:07:35 +08:00
parent 239f961485
commit a2870eb18e
31 changed files with 767 additions and 1436 deletions

View File

@ -0,0 +1,17 @@
// ==UserScript==
// @name gm value storage 设置方 - 定时脚本
// @namespace https://bbs.tampermonkey.net.cn/
// @version 0.1.0
// @description 多个脚本之间共享数据 设置方 - 定时脚本
// @author You
// @run-at document-start
// @grant GM_setValue
// @grant GM_deleteValue
// @storageName example
// @crontab */5 * * * * *
// ==/UserScript==
return new Promise((resolve) => {
GM_setValue("test_set", new Date().getTime());
resolve();
});