MCPcopy Index your code
hub / github.com/hoothin/UserScripts / replySuccess

Function replySuccess

T66y tool/T66y tool.user.js:227–242  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

225 }
226 let rushSuccess = false;
227 function replySuccess() {
228 rushSuccess = true;
229 lastReplyTime = Date.now();
230 $.cookie('lastReplyTime', lastReplyTime, { expires: 7, path: '/' });
231 if (isCheckIn) {
232 $.cookie('lastSignDate', currentDate, { expires: 7, path: '/' });
233 }
234 submitBtn.val("提 交");
235 quickReply.val("回复成功");
236 quickReply.css("background", "yellow");
237 $("form td.h").css("background", "yellow");
238 setTimeout(() => {
239 setCountdown();
240 $("form td.h").css("background", "");
241 }, 2000);
242 }
243 function isRushTime() {
244 var date = new Date();
245 var year = date.getFullYear();

Callers 1

submitReplyFunction · 0.85

Calls 2

setCountdownFunction · 0.85
$Function · 0.50

Tested by

no test coverage detected