This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Server Monitor Widget (Final Version) | |
| // @description Streamlined UI, left-aligned progress bar, and top-left update time. | |
| // ==/UserScript== | |
| // ========================================================= | |
| // 1. 配置区域:在这里填入你的 API 地址 | |
| // ========================================================= | |
| const API_URL = "http://192.168.1.1:43210/index.php?action=get_status"; | |
| const USE_MOCK_DATA = false; // 测试时保持 true,对接真实 API 时改为 false |
OlderNewer