Merge pull request #731 from XMOJ-Script-dev/boomzero/mathjax #23
Annotations
220 warnings and 35 notices
Duplicate declaration:
XMOJ.user.js#L2563
Duplicate declaration
|
Duplicate declaration:
XMOJ.user.js#L2469
Duplicate declaration
|
Duplicate declaration:
XMOJ.user.js#L2532
Duplicate declaration
|
Duplicate declaration:
XMOJ.user.js#L2509
Duplicate declaration
|
Duplicate declaration:
Update/UpdateToRelease.js#L99
Duplicate declaration
|
Duplicate declaration:
Update/UpdateToRelease.js#L5
Duplicate declaration
|
Duplicate declaration:
XMOJ.user.js#L1555
Duplicate declaration
|
Duplicate declaration:
XMOJ.user.js#L2531
Duplicate declaration
|
Duplicate declaration:
XMOJ.user.js#L748
Duplicate declaration
|
Duplicate declaration:
XMOJ.user.js#L2575
Duplicate declaration
|
Duplicate declaration:
XMOJ.user.js#L666
Duplicate declaration
|
Duplicate declaration:
Update/UpdateToRelease.js#L27
Duplicate declaration
|
Equality operator may cause type coercion:
XMOJ.user.js#L2042
Comparison document.querySelector("#problemset \> thead \> tr").innerHTML.indexOf("标程") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3216
Comparison location.pathname == "/userinfo.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2333
Comparison j != k 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#L1301
Comparison localStorage.getItem("UserScript-Setting-" + Data\[i\].ID) == "false" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3949
Comparison document.querySelector("#problemstatus \> tbody").children.length == 20 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4011
Comparison NewsData\[i\].Time.getTime() != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1285
Comparison Data\[i\].Type == "A" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1932
Comparison location.href.indexOf("?cid=") == -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4066
Comparison location.pathname == "/ceinfo.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4716
Comparison Event.keyCode == 13 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2686
Comparison Red == 170 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L885
Comparison document.querySelector("#profile").innerHTML == "登录" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3625
Comparison document.getElementById("J_prismPlayer0").innerHTML != "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1830
Comparison Temp\[i\].childNodes\[9\].innerText == "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2227
Comparison Green == 238 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2234
Comparison Blue == 22 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3589
Comparison Response.indexOf("history.go(-2);") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3438
Comparison location.pathname == "/conteststatistics.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1961
Comparison Time.indexOf("小时") == -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L465
Comparison document.querySelector("body \> a:nth-child(1)").innerText == "请登录后继续操作" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1431
Comparison NewsData\[i\].Time != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3170
Comparison Request.readyState == 4 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1699
Comparison location.pathname == "/status.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L5110
Comparison ResponseData.Success == true may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4986
Comparison Items\[i\].type.indexOf("image") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1287
Comparison Data\[i\].Type == "F" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L5021
Comparison CodeElements\[i\].className == "language-c" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2016
Comparison Status.indexOf("Y") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2341
Comparison a.Solved != b.Solved may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2700
Comparison ErrorCount != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4105
Comparison location.pathname == "/mail.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3242
Comparison Temp\[i\].tagName == "A" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3171
Comparison Request.status == 200 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L671
Comparison Temp\[i\].href.indexOf("semantic.min.css") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2188
Comparison location.pathname == "/contestrank-oi.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4325
Comparison Event.keyCode == 13 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2248
Comparison ErrorCount == 15 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4728
Comparison Items\[i\].type.indexOf("image") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2594
Comparison CurrentRow.Index == j may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2343
Comparison a.Penalty != b.Penalty may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3992
Comparison location.pathname == "/open_contest.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3809
Comparison ApplyElements\[i\].style.display == "block" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2049
Comparison Temp2\[j\].children\[i\] != undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2685
Comparison Green == 238 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2949
Comparison location.pathname == "/modifypage.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2705
Comparison ErrorCount != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4437
Comparison Posts.length == 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L669
Comparison Temp\[i\].href.indexOf("white.css") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4501
Comparison location.pathname == "/discuss3/newpost.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4299
Comparison Items\[i\].type.indexOf("image") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3623
Comparison location.pathname == "/problem_video.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2686
Comparison Green == 170 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1256
Comparison location.pathname == "/" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1970
Comparison CurrentElement\[1\].childNodes\[0\].data.indexOf("已结束") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1321
Comparison Data\[i\].Children != undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L5114
Comparison PostReplies.innerHTML.indexOf("placeholder") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1001
Comparison Response.UpdateHistory\[VersionInfo\].Prerelease == false may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2266
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#L4799
Comparison ResponseData.Data.ProblemID == 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1957
Comparison CurrentElement\[1\].childNodes\[0\].data.indexOf("运行中") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1090
Comparison Data.Notes != undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1256
Comparison location.pathname == "/index.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4609
Comparison ResponseData.Success == true may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1960
Comparison Time.indexOf("天") == -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4906
Comparison ResponseData.Success == true may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1892
Comparison Points\[SolutionID\] != undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L736
Comparison location.pathname == "/submitpage.php" 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#L3680
Comparison document.querySelector("#results \> div") == undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3184
Comparison CurrentCode != "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3232
Comparison Temp\[i\].children\[0\].innerText == "Email:" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L897
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#L4636
Comparison Data\[i\].BoardID == 4 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1870
Comparison SolutionIDs\[i\] == SolutionID 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#L2228
Comparison Blue == 255 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2242
Comparison ErrorCount != 0 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#L2286
Comparison EndPosition == 1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2333
Comparison RankData\[i\].Problem\[k\].SolveTime != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4630
Comparison SearchParams.get("bid") == Data\[i\].BoardID may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3242
Comparison Temp\[i\].href.indexOf("problem.php?id=") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1467
Comparison location.pathname == "/problemset.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L885
Comparison document.querySelector("#profile") != undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4156
Comparison Data\[i\].UnreadCount != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L625
Comparison location.pathname != "/loginpage.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L675
Comparison Temp\[i\].href.indexOf("problem.css") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2690
Comparison Blue == 170 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4873
Comparison ResponseData.Success == true 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#L4461
Comparison Posts\[i\].ProblemID != 0 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#L2983
Comparison Data.Notes != undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2002
Comparison document.querySelector("body \> div \> div.mt-3 \> center").innerHTML.indexOf("尚未开始比赛") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2320
Comparison CurrentSubmission.result == 4 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4934
Comparison Replies\[i\].UserID == CurrentUsername may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2600
Comparison ProblemData.SolveTime != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4257
Comparison Data\[i\].FromUser != CurrentUsername may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1927
Comparison location.pathname == "/contest.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3539
Comparison location.pathname == "/loginpage.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2294
Comparison CurrentRow.Username == CurrentSubmission.user_id may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4031
Comparison location.pathname == "/showsource.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2193
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#L2247
Comparison ErrorCount != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2243
Comparison ErrorCount == 5 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L759
Comparison document.getElementsByTagName("marquee")\[0\] != undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3954
Comparison location.pathname == "/problem_solution.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4084
Comparison location.pathname == "/problem_std.php" 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#L2228
Comparison Green == 170 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2333
Comparison RankData\[i\].Problem\[j\].SolveTime != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L613
Comparison location.host != "www.xmoj.tech" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L625
Comparison location.pathname != "/login.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4866
Comparison Replies\[i\].UserID == CurrentUsername may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4539
Comparison Event.keyCode == 13 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2687
Comparison Green == 255 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2648
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#L2644
Comparison location.pathname == "/contestrank-correct.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4418
Comparison ResponseData.Success == true 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#L2232
Comparison Blue == 170 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2019
Comparison Status.indexOf("N") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4180
Comparison UsernameData == "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2045
Comparison Temp\[i\].innerText == "标程" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2068
Comparison PID.substring(0, 2) == "拓展" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1033
Comparison localStorage.getItem("UserScript-Update-LastVersion") != GM_info.script.version may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2722
Comparison location.pathname == "/submitpage.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1966
Comparison CurrentElement\[1\].childNodes\[0\].data.indexOf("开始于") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4330
Comparison Content.value == "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3576
Comparison Username == "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2228
Comparison Red == 170 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2109
Comparison ACProblems.indexOf(Number(PID)) == -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4649
Comparison location.pathname == "/discuss3/thread.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3606
Comparison Response == "UserName or Password Wrong!" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2692
Comparison Blue == 22 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4795
Comparison ResponseData.Data.UserID == CurrentUsername may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3833
Comparison location.pathname == "/downloads.php" 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#L4966
Comparison ContentEditor.value.indexOf("
") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L625
Comparison location.pathname != "/lostpassword.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3623
Comparison location.pathname == "/contest_video.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3576
Comparison Password == "" 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#L3465
Comparison CurrentRowChildren\[j\].innerText == "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L625
Comparison document.querySelector("#profile").innerHTML == "登录" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3678
Comparison location.pathname == "/reinfo.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2426
Comparison RowData.Username == CurrentUsername may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4555
Comparison Items\[i\].type.indexOf("image") != -1 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#L2320
Comparison CurrentProblem.SolveTime == 0 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:
Update/UpdateVersion.js#L60
Comparison NpmVersion == LastJSVersion may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L673
Comparison Temp\[i\].href.indexOf("bootstrap-theme.min.css") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2866
Comparison Source.indexOf(IOFilename) == -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2227
Comparison Red == 238 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#L389
Comparison localStorage.getItem("UserScript-Setting-" + Name) == "true" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4970
Comparison Event.keyCode == 13 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1908
Comparison Std != undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3473
Comparison location.search == "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L897
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#L3229
Comparison Temp\[i\].children\[0\] != undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2064
Comparison Temp\[i\].childNodes\[0\].children.length == 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1289
Comparison Data\[i\].Type == "D" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1292
Comparison Data\[i\].Children == undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2912
Comparison Source == "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3230
Comparison Temp\[i\].children\[0\].innerText == "Statistics" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3908
Comparison location.pathname == "/problemstatus.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2685
Comparison Blue == 238 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2598
Comparison ProblemData == undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1856
Comparison Rows\[i\].cells\[2\].children.length == 2 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1906
Comparison Element == Number(PID) may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1903
Comparison ResponseData\[0\] == 4 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L667
Comparison Temp\[i\].href.indexOf("bootstrap.min.css") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1889
Comparison ResponseData\[0\] == 11 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3471
Comparison location.pathname == "/comparesource.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L5023
Comparison CodeElements\[i\].className == "language-cpp" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4355
Comparison location.pathname.indexOf("/discuss3") != -1 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#L4778
Comparison ResponseData.Success == true may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2685
Comparison Red == 238 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2686
Comparison Blue == 255 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4951
Comparison Replies\[i\].EditPerson == Replies\[i\].UserID may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2227
Comparison Blue == 238 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1505
Comparison location.pathname == "/problem.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4358
Comparison location.pathname == "/discuss3/discuss.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1962
Comparison Time.indexOf("分") == -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L5091
Comparison ResponseData.Success == true 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#L2310
Comparison CurrentRow.Index == CurrentSubmission.num may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1644
Comparison Response.Data.DiscussCount != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2584
Comparison Names\[RowData.Username\] == undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2229
Comparison Green == 255 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
|
Equality operator may cause type coercion:
XMOJ.user.js#L3265
Comparison UserEmailHash == undefined may cause unexpected type coercion
|
Object is 'null' or 'undefined':
XMOJ.user.js#L4357
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#L2857
Variable initializer is redundant
|
Unused assignment:
Update/UpdateToRelease.js#L27
Variable might not have been initialized
|
Unused local symbol:
XMOJ.user.js#L5144
Unused parameter r
|
Unused local symbol:
Update/UpdateToRelease.js#L40
Unused local variable LastVersion
|
Unused local symbol:
XMOJ.user.js#L2750
Unused parameter instance
|
Unused local symbol:
Update/UpdateVersion.js#L24
Unused local variable LastVersion
|
Consecutive spaces:
XMOJ.user.js#L3782
2 consecutive spaces in RegExp
|
qodana
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Expression statement which is not assignment or call:
XMOJ.user.js#L2102
Expression statement is not assignment or call
|
Missing await for an async function call:
XMOJ.user.js#L739
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L2631
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L2676
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L2425
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L3933
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L4458
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L5015
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L4825
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L4802
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L4262
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L4230
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L2218
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L2716
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L1215
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L1506
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L2259
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L4155
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L5071
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L5041
Missing await for an async function call
|
Redundant 'await' expression:
XMOJ.user.js#L5038
Redundant 'await' for a non-promise type
|
Deprecated symbol used:
XMOJ.user.js#L4970
Deprecated symbol used, consult docs for better alternative
|
Deprecated symbol used:
XMOJ.user.js#L3643
Deprecated symbol used, consult docs for better alternative
|
Deprecated symbol used:
XMOJ.user.js#L3641
Deprecated symbol used, consult docs for better alternative
|
Deprecated symbol used:
XMOJ.user.js#L3397
Deprecated symbol used, consult docs for better alternative
|
Deprecated symbol used:
XMOJ.user.js#L1560
Deprecated symbol used, consult docs for better alternative
|
Implicitly declared global JavaScript variable:
XMOJ.user.js#L851
Variable Temp implicitly declared
|
Implicitly declared global JavaScript variable:
XMOJ.user.js#L1554
Variable Temp implicitly declared
|
Implicitly declared global JavaScript variable:
XMOJ.user.js#L841
Variable Temp implicitly declared
|
Implicitly declared global JavaScript variable:
XMOJ.user.js#L2062
Variable Temp implicitly declared
|
Implicitly declared global JavaScript variable:
XMOJ.user.js#L859
Variable Temp implicitly declared
|
Implicitly declared global JavaScript variable:
XMOJ.user.js#L2813
Variable rPID implicitly declared
|
Implicitly declared global JavaScript variable:
XMOJ.user.js#L845
Variable Temp implicitly declared
|
Implicitly declared global JavaScript variable:
XMOJ.user.js#L1929
Variable clock implicitly declared
|
Missing await for an async function call:
XMOJ.user.js#L5071
Missing await for an async function call
|