From 73f5b9bba597779d494ffe739c8ca43b9e39c038 Mon Sep 17 00:00:00 2001 From: hst1189 Date: Sun, 27 Oct 2024 00:25:47 +0900 Subject: [PATCH] Update waifu-tips.min.js --- assets/waifu-tips.min.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/waifu-tips.min.js b/assets/waifu-tips.min.js index fd0486c..1cb561d 100644 --- a/assets/waifu-tips.min.js +++ b/assets/waifu-tips.min.js @@ -231,7 +231,9 @@ function loadTipsMessage(a) { } var t = (new Date).getHours(); - b = b + " " + getRandText(23 < t || 5 >= t ? a.waifu.hour_tips.t23 - 5 : 5 < t && 7 >= t ? a.waifu.hour_tips.t5 - 7 : 7 < t && 11 >= t ? a.waifu.hour_tips.t7 - 11 : 11 < t && 14 >= t ? a.waifu.hour_tips.t11 - 14 : 14 < t && 17 >= t ? a.waifu.hour_tips.t14 - 17 : 17 < t && 19 >= t ? a.waifu.hour_tips.t17 - 19 : 19 < t && 21 >= t ? a.waifu.hour_tips.t19 - 21 : 21 < t && 23 >= t ? a.waifu.hour_tips.t21 - 23 : a.waifu.hour_tips.default) + y = getRandText(23 < t || 5 >= t ? a.waifu.hour_tips.t23 - 5 : 5 < t && 7 >= t ? a.waifu.hour_tips.t5 - 7 : 7 < t && 11 >= t ? a.waifu.hour_tips.t7 - 11 : 11 < t && 14 >= t ? a.waifu.hour_tips.t11 - 14 : 14 < t && 17 >= t ? a.waifu.hour_tips.t14 - 17 : 17 < t && 19 >= t ? a.waifu.hour_tips.t17 - 19 : 19 < t && 21 >= t ? a.waifu.hour_tips.t19 - 21 : 21 < t && 23 >= t ? a.waifu.hour_tips.t21 - 23 : a.waifu.hour_tips.default) + alert("现在是" t + "点," + y) + b = b + " " + y showMessage(b, 6E3) };