From 625223cb4ede989d8cb4f41fe6e9ddde89229d68 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 2 Jun 2024 21:16:14 +0800 Subject: [PATCH] Update sub_info_panel.js --- Surge/Surge 4/Script/sub_info_panel.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Surge/Surge 4/Script/sub_info_panel.js b/Surge/Surge 4/Script/sub_info_panel.js index a455233..7277cdd 100644 --- a/Surge/Surge 4/Script/sub_info_panel.js +++ b/Surge/Surge 4/Script/sub_info_panel.js @@ -6,16 +6,12 @@ https://raw.githubusercontent.com/mieqq/mieqq/master/sub_info_panel.js let args = getArgs(); let info = await getDataInfo(args.url); if (!info) $done(); - let resetDayLeft = getRmainingDays(parseInt(args["reset_day"])); let used = info.download + info.upload; let total = info.total - (info.download + info.upload); let expire = args.expire || info.expire; let content = [`已用:${bytesToSize(used)} / 可用:${bytesToSize(total)}`]; - if (resetDayLeft) { - content.push(`重置流量:剩余${resetDayLeft}天`); - } if (expire) { if (/^[\d.]+$/.test(expire)) expire *= 1000; content.push(`到期时间:${formatTime(expire)}`);