Skip to content

Merge pull request #753 from XMOJ-Script-dev/boomzero/fix-code-size-u… #567

Merge pull request #753 from XMOJ-Script-dev/boomzero/fix-code-size-u…

Merge pull request #753 from XMOJ-Script-dev/boomzero/fix-code-size-u… #567

Triggered via push November 25, 2024 14:39
Status Success
Total duration 1m 18s
Artifacts

CodeQL.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

213 warnings and 30 notices
Duplicate declaration: XMOJ.user.js#L691
Duplicate declaration
Duplicate declaration: XMOJ.user.js#L1587
Duplicate declaration
Duplicate declaration: XMOJ.user.js#L773
Duplicate declaration
Duplicate declaration: Update/UpdateToRelease.js#L99
Duplicate declaration
Duplicate declaration: Update/UpdateToRelease.js#L5
Duplicate declaration
Duplicate declaration: Update/UpdateToRelease.js#L27
Duplicate declaration
Equality operator may cause type coercion: XMOJ.user.js#L2264
Comparison Blue == 170 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2352
Comparison CurrentProblem.SolveTime == 0 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L917
Comparison document.querySelector("#profile") != undefined may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2963
Comparison Source == "" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L929
Comparison document.querySelector("#navbar \> ul.nav.navbar-nav.navbar-right \> li \> ul \> li:nth-child(3) \> a \> s... may cause unexpected type coercion
Equality operator may cause type coercion: Update/UpdateVersion.js#L65
Comparison ChangedFileList.indexOf("XMOJ.user.js") == -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3676
Comparison document.getElementById("J_prismPlayer0").innerHTML != "" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L5161
Comparison ResponseData.Success == true may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2259
Comparison Blue == 238 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4005
Comparison location.pathname == "/problem_solution.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3884
Comparison location.pathname == "/downloads.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2773
Comparison location.pathname == "/submitpage.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2365
Comparison RankData\[i\].Problem\[k\].SolveTime != 0 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3235
Comparison CurrentCode != "" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3731
Comparison document.querySelector("#results \> div") == undefined may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3316
Comparison UserEmailHash == undefined may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2266
Comparison Blue == 22 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2651
Comparison ProblemData.SolveTime != 0 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3034
Comparison Data.Notes != undefined may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L267
Comparison BadgeInfo.Content != "" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4924
Comparison ResponseData.Success == true may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4156
Comparison location.pathname == "/mail.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2318
Comparison EndPosition == 1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1333
Comparison localStorage.getItem("UserScript-Setting-" + Data\[i\].ID) == "false" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3640
Comparison Response.indexOf("history.go(-2);") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4381
Comparison Content.value == "" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3524
Comparison location.search == "" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2375
Comparison a.Penalty != b.Penalty may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L490
Comparison document.querySelector("body \> a:nth-child(1)").innerText == "请登录后继续操作" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1288
Comparison location.pathname == "/" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4231
Comparison UsernameData == "" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1924
Comparison Points\[SolutionID\] != undefined may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L696
Comparison Temp\[i\].href.indexOf("semantic.min.css") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1993
Comparison Time.indexOf("小时") == -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4043
Comparison location.pathname == "/open_contest.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2051
Comparison Status.indexOf("N") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3627
Comparison Password == "" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3221
Comparison Request.readyState == 4 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2096
Comparison Temp\[i\].childNodes\[0\].children.length == 0 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L692
Comparison Temp\[i\].href.indexOf("bootstrap.min.css") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2373
Comparison a.Solved != b.Solved may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2225
Comparison document.querySelector("body \> div \> div.mt-3 \> center \> h3").innerText == "比赛排名" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1499
Comparison location.pathname == "/problemset.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4488
Comparison Posts.length == 0 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2342
Comparison CurrentRow.Index == CurrentSubmission.num may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1998
Comparison CurrentElement\[1\].childNodes\[0\].data.indexOf("开始于") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2260
Comparison Green == 170 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2737
Comparison Green == 170 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3281
Comparison Temp\[i\].children\[0\].innerText == "Statistics" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3516
Comparison CurrentRowChildren\[j\].innerText == "" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2275
Comparison ErrorCount == 5 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1463
Comparison NewsData\[i\].Time != 0 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1319
Comparison Data\[i\].Type == "F" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3293
Comparison Temp\[i\].tagName == "A" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3627
Comparison Username == "" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2048
Comparison Status.indexOf("Y") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3489
Comparison location.pathname == "/conteststatistics.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1888
Comparison Rows\[i\].cells\[2\].children.length == 2 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2220
Comparison location.pathname == "/contestrank-oi.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4985
Comparison Replies\[i\].UserID == CurrentUsername may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L650
Comparison document.querySelector("#profile").innerHTML == "登录" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1902
Comparison SolutionIDs\[i\] == SolutionID may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L5002
Comparison Replies\[i\].EditPerson == Replies\[i\].UserID may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L650
Comparison location.pathname != "/loginpage.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1992
Comparison Time.indexOf("天") == -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L650
Comparison location.pathname != "/login.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3293
Comparison Temp\[i\].href.indexOf("problem.php?id=") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4767
Comparison Event.keyCode == 13 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L5074
Comparison CodeElements\[i\].className == "language-cpp" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2260
Comparison Red == 170 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1537
Comparison location.pathname == "/problem.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4829
Comparison ResponseData.Success == true may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L5017
Comparison ContentEditor.value.indexOf(" ") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1122
Comparison Data.Notes != undefined may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L5165
Comparison PostReplies.innerHTML.indexOf("placeholder") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: Update/GetVersion.js#L14
Comparison LastJSVersion != NpmVersion may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L694
Comparison Temp\[i\].href.indexOf("white.css") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2736
Comparison Green == 238 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4606
Comparison Items\[i\].type.indexOf("image") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2352
Comparison CurrentSubmission.result == 4 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2736
Comparison Blue == 238 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4376
Comparison Event.keyCode == 13 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2034
Comparison document.querySelector("body \> div \> div.mt-3 \> center").innerHTML.indexOf("尚未开始比赛") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: Update/UpdateToRelease.js#L53
Comparison LastType == "Release" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2274
Comparison ErrorCount != 0 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L917
Comparison document.querySelector("#profile").innerHTML == "登录" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3657
Comparison Response == "UserName or Password Wrong!" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2751
Comparison ErrorCount != 0 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2081
Comparison Temp2\[j\].children\[i\] != undefined may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1353
Comparison Data\[i\].Children != undefined may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4350
Comparison Items\[i\].type.indexOf("image") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4308
Comparison Data\[i\].FromUser != CurrentUsername may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4409
Comparison location.pathname == "/discuss3/discuss.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2002
Comparison CurrentElement\[1\].childNodes\[0\].data.indexOf("已结束") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: Update/UpdateToRelease.js#L49
Comparison LastJSONVersion != LastJSVersion may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3674
Comparison location.pathname == "/problem_video.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2738
Comparison Green == 255 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4552
Comparison location.pathname == "/discuss3/newpost.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3267
Comparison location.pathname == "/userinfo.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2261
Comparison Green == 255 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4000
Comparison document.querySelector("#problemstatus \> tbody").children.length == 20 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2298
Comparison document.querySelector("body \> div \> div.mt-3 \> center \> h3").innerText != "比赛排名" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4687
Comparison Data\[i\].BoardID == 4 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1959
Comparison location.pathname == "/contest.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2737
Comparison Red == 170 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4082
Comparison location.pathname == "/showsource.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L700
Comparison Temp\[i\].href.indexOf("problem.css") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2649
Comparison ProblemData == undefined may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4700
Comparison location.pathname == "/discuss3/thread.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1964
Comparison location.href.indexOf("?cid=") == -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4062
Comparison NewsData\[i\].Time.getTime() != 0 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2635
Comparison Names\[RowData.Username\] == undefined may cause unexpected type coercion
Equality operator may cause type coercion: Update/UpdateVersion.js#L46
Comparison LastPR == CurrentPR may cause unexpected type coercion
Equality operator may cause type coercion: Update/UpdateVersion.js#L60
Comparison LastPR == CurrentPR may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3283
Comparison Temp\[i\].children\[0\].innerText == "Email:" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2279
Comparison ErrorCount != 0 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1065
Comparison localStorage.getItem("UserScript-Update-LastVersion") != GM_info.script.version may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2077
Comparison Temp\[i\].innerText == "标程" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1033
Comparison Response.UpdateHistory\[VersionInfo\].Prerelease == false may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L143
Comparison Email == "" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L784
Comparison document.getElementsByTagName("marquee")\[0\] != undefined may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L5021
Comparison Event.keyCode == 13 may cause unexpected type coercion
Equality operator may cause type coercion: Update/UpdateVersion.js#L44
Comparison LastJSVersion != NpmVersion may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4846
Comparison ResponseData.Data.UserID == CurrentUsername may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2141
Comparison ACProblems.indexOf(Number(PID)) == -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3222
Comparison Request.status == 200 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4135
Comparison location.pathname == "/problem_std.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2365
Comparison RankData\[i\].Problem\[j\].SolveTime != 0 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2365
Comparison j != k may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4406
Comparison location.pathname.indexOf("/discuss3") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L761
Comparison location.pathname == "/submitpage.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1731
Comparison location.pathname == "/status.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1940
Comparison Std != undefined may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3280
Comparison Temp\[i\].children\[0\] != undefined may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4590
Comparison Event.keyCode == 13 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1935
Comparison ResponseData\[0\] == 4 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2736
Comparison Red == 238 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2458
Comparison RowData.Username == CurrentUsername may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2699
Comparison document.querySelector("body \> div \> div.mt-3 \> center \> h3").innerText == "比赛排名" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L232
Comparison UserInfo.EmailHash == undefined may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3000
Comparison location.pathname == "/modifypage.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2259
Comparison Red == 238 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L638
Comparison location.host != "www.xmoj.tech" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2260
Comparison Blue == 255 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3860
Comparison ApplyElements\[i\].style.display == "block" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1324
Comparison Data\[i\].Children == undefined may cause unexpected type coercion
Equality operator may cause type coercion: Update/UpdateVersion.js#L35
Comparison LastJSONVersion != LastJSVersion may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1288
Comparison location.pathname == "/index.php" may cause unexpected type coercion
Equality operator may cause type coercion: Update/GetVersion.js#L14
Comparison LastJSONVersion != NpmVersion may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L5142
Comparison ResponseData.Success == true may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3729
Comparison location.pathname == "/reinfo.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L263
Comparison Username == "chenlangning" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1938
Comparison Element == Number(PID) may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4512
Comparison Posts\[i\].ProblemID != 0 may cause unexpected type coercion
Equality operator may cause type coercion: Update/UpdateVersion.js#L60
Comparison NpmVersion == LastJSVersion may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L698
Comparison Temp\[i\].href.indexOf("bootstrap-theme.min.css") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4117
Comparison location.pathname == "/ceinfo.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2326
Comparison CurrentRow.Username == CurrentSubmission.user_id may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1862
Comparison Temp\[i\].childNodes\[9\].innerText == "" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2074
Comparison document.querySelector("#problemset \> thead \> tr").innerHTML.indexOf("标程") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: Update/UpdateVersion.js#L46
Comparison NpmVersion == LastJSVersion may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L5072
Comparison CodeElements\[i\].className == "language-c" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4207
Comparison Data\[i\].UnreadCount != 0 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1921
Comparison ResponseData\[0\] == 11 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4850
Comparison ResponseData.Data.ProblemID == 0 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2743
Comparison Blue == 22 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3522
Comparison location.pathname == "/comparesource.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2100
Comparison PID.substring(0, 2) == "拓展" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2737
Comparison Blue == 255 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4957
Comparison ResponseData.Success == true may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L650
Comparison location.pathname != "/lostpassword.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2645
Comparison CurrentRow.Index == j may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1676
Comparison Response.Data.DiscussCount != 0 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L411
Comparison localStorage.getItem("UserScript-Setting-" + Name) == "true" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3590
Comparison location.pathname == "/loginpage.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1994
Comparison Time.indexOf("分") == -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2259
Comparison Green == 238 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4469
Comparison ResponseData.Success == true may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2695
Comparison location.pathname == "/contestrank-correct.php" may cause unexpected type coercion
Equality operator may cause type coercion: Update/UpdateToRelease.js#L58
Comparison LastJSVersion != NpmVersion may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2917
Comparison Source.indexOf(IOFilename) == -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2741
Comparison Blue == 170 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4917
Comparison Replies\[i\].UserID == CurrentUsername may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3674
Comparison location.pathname == "/contest_video.php" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4779
Comparison Items\[i\].type.indexOf("image") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1317
Comparison Data\[i\].Type == "A" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1321
Comparison Data\[i\].Type == "D" may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L3959
Comparison location.pathname == "/problemstatus.php" may cause unexpected type coercion
Equality operator may cause type coercion: Update/GetVersion.js#L14
Comparison LastJSONVersion != LastJSVersion may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L1989
Comparison CurrentElement\[1\].childNodes\[0\].data.indexOf("运行中") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4660
Comparison ResponseData.Success == true may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2756
Comparison ErrorCount != 0 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L929
Comparison document.querySelector("#navbar \> ul.nav.navbar-nav.navbar-right \> li \> ul \> li:nth-child(3) \> a \> s... may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L4681
Comparison SearchParams.get("bid") == Data\[i\].BoardID may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L2280
Comparison ErrorCount == 15 may cause unexpected type coercion
Equality operator may cause type coercion: XMOJ.user.js#L5037
Comparison Items\[i\].type.indexOf("image") != -1 may cause unexpected type coercion
Equality operator may cause type coercion: Update/UpdateToRelease.js#L75
Comparison JSONObject.UpdateHistory\[Version\].Prerelease == false may cause unexpected type coercion
Object is 'null' or 'undefined': XMOJ.user.js#L4408
Discussion is possibly null
Unused assignment: Update/UpdateToRelease.js#L27
Variable might not have been initialized
Unused assignment: XMOJ.user.js#L73
Variable initializer is redundant
Unused assignment: XMOJ.user.js#L2908
Variable initializer is redundant
Unused assignment: Update/UpdateToRelease.js#L27
Variable might not have been initialized
Unused local symbol: Update/UpdateToRelease.js#L40
Unused local variable LastVersion
Unused local symbol: Update/UpdateVersion.js#L24
Unused local variable LastVersion
Unused local symbol: XMOJ.user.js#L2801
Unused parameter instance
Unused local symbol: XMOJ.user.js#L5195
Unused parameter r
Consecutive spaces: XMOJ.user.js#L3833
2 consecutive spaces in RegExp
Expression statement which is not assignment or call: ._XMOJ.user.js#L1
Expression statement is not assignment or call
Expression statement which is not assignment or call: XMOJ.user.js#L2134
Expression statement is not assignment or call
Expression statement which is not assignment or call: ._XMOJ.user.js#L1
Expression statement is not assignment or call
Expression statement which is not assignment or call: ._XMOJ.user.js#L1
Expression statement is not assignment or call
Missing await for an async function call: XMOJ.user.js#L2767
Missing await for an async function call
Missing await for an async function call: XMOJ.user.js#L4509
Missing await for an async function call
Missing await for an async function call: XMOJ.user.js#L4853
Missing await for an async function call
Missing await for an async function call: XMOJ.user.js#L3984
Missing await for an async function call
Missing await for an async function call: XMOJ.user.js#L2457
Missing await for an async function call
Missing await for an async function call: XMOJ.user.js#L2682
Missing await for an async function call
Missing await for an async function call: XMOJ.user.js#L764
Missing await for an async function call
Missing await for an async function call: XMOJ.user.js#L4206
Missing await for an async function call
Missing await for an async function call: XMOJ.user.js#L5092
Missing await for an async function call
Missing await for an async function call: XMOJ.user.js#L4313
Missing await for an async function call
Missing await for an async function call: XMOJ.user.js#L5122
Missing await for an async function call
Missing await for an async function call: XMOJ.user.js#L5066
Missing await for an async function call
Missing await for an async function call: XMOJ.user.js#L1247
Missing await for an async function call
Missing await for an async function call: XMOJ.user.js#L4281
Missing await for an async function call
Missing await for an async function call: XMOJ.user.js#L2727
Missing await for an async function call
Missing await for an async function call: XMOJ.user.js#L2250
Missing await for an async function call
Missing await for an async function call: XMOJ.user.js#L4876
Missing await for an async function call
Missing await for an async function call: XMOJ.user.js#L2291
Missing await for an async function call
Redundant 'await' expression: XMOJ.user.js#L5089
Redundant 'await' for a non-promise type
Deprecated symbol used: XMOJ.user.js#L1592
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: XMOJ.user.js#L3692
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: XMOJ.user.js#L3694
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: XMOJ.user.js#L3448
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: XMOJ.user.js#L5021
Deprecated symbol used, consult docs for better alternative
Implicitly declared global JavaScript variable: XMOJ.user.js#L2864
Variable rPID implicitly declared
Implicitly declared global JavaScript variable: XMOJ.user.js#L1961
Variable clock implicitly declared