Update AddonScript.js #47
Annotations
214 warnings and 27 notices
Duplicate declaration:
Update/UpdateToRelease.js#L99
Duplicate declaration
|
Duplicate declaration:
XMOJ.user.js#L751
Duplicate declaration
|
Duplicate declaration:
Update/UpdateToRelease.js#L5
Duplicate declaration
|
Duplicate declaration:
XMOJ.user.js#L669
Duplicate declaration
|
Duplicate declaration:
XMOJ.user.js#L1565
Duplicate declaration
|
Duplicate declaration:
Update/UpdateToRelease.js#L27
Duplicate declaration
|
Equality operator may cause type coercion:
XMOJ.user.js#L907
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#L1709
Comparison location.pathname == "/status.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3862
Comparison location.pathname == "/downloads.php" 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#L4384
Comparison location.pathname.indexOf("/discuss3") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2052
Comparison document.querySelector("#problemset \> thead \> tr").innerHTML.indexOf("标程") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1970
Comparison Time.indexOf("天") == -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1880
Comparison SolutionIDs\[i\] == SolutionID may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2244
Comparison Blue == 22 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2715
Comparison Blue == 255 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1331
Comparison Data\[i\].Children != undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L907
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#L2252
Comparison ErrorCount != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3605
Comparison Password == "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4447
Comparison ResponseData.Success == true 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#L672
Comparison Temp\[i\].href.indexOf("white.css") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2238
Comparison Red == 170 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L678
Comparison Temp\[i\].href.indexOf("problem.css") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1477
Comparison location.pathname == "/problemset.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1654
Comparison Response.Data.DiscussCount != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1299
Comparison Data\[i\].Type == "D" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4328
Comparison Items\[i\].type.indexOf("image") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4665
Comparison Data\[i\].BoardID == 4 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2330
Comparison CurrentSubmission.result == 4 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2613
Comparison Names\[RowData.Username\] == undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2237
Comparison Red == 238 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2238
Comparison Blue == 255 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2237
Comparison Green == 238 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1942
Comparison location.href.indexOf("?cid=") == -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3259
Comparison Temp\[i\].children\[0\].innerText == "Statistics" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2751
Comparison location.pathname == "/submitpage.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3568
Comparison location.pathname == "/loginpage.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2714
Comparison Green == 238 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2351
Comparison a.Solved != b.Solved may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1913
Comparison ResponseData\[0\] == 4 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1266
Comparison location.pathname == "/index.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2716
Comparison Green == 255 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4584
Comparison Items\[i\].type.indexOf("image") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3258
Comparison Temp\[i\].children\[0\] != undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1011
Comparison Response.UpdateHistory\[VersionInfo\].Prerelease == false may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L739
Comparison location.pathname == "/submitpage.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L5052
Comparison CodeElements\[i\].className == "language-cpp" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2715
Comparison Red == 170 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4490
Comparison Posts\[i\].ProblemID != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3294
Comparison UserEmailHash == undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1295
Comparison Data\[i\].Type == "A" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4807
Comparison ResponseData.Success == true may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L5143
Comparison PostReplies.innerHTML.indexOf("placeholder") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1899
Comparison ResponseData\[0\] == 11 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1937
Comparison location.pathname == "/contest.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3838
Comparison ApplyElements\[i\].style.display == "block" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2629
Comparison ProblemData.SolveTime != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3605
Comparison Username == "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2719
Comparison Blue == 170 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2714
Comparison Red == 238 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1967
Comparison CurrentElement\[1\].childNodes\[0\].data.indexOf("运行中") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L676
Comparison Temp\[i\].href.indexOf("bootstrap-theme.min.css") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2055
Comparison Temp\[i\].innerText == "标程" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4757
Comparison Items\[i\].type.indexOf("image") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2029
Comparison Status.indexOf("N") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4995
Comparison ContentEditor.value.indexOf("
") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3500
Comparison location.pathname == "/comparesource.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3707
Comparison location.pathname == "/reinfo.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L674
Comparison Temp\[i\].href.indexOf("semantic.min.css") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1840
Comparison Temp\[i\].childNodes\[9\].innerText == "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2734
Comparison ErrorCount != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1980
Comparison CurrentElement\[1\].childNodes\[0\].data.indexOf("已结束") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2012
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#L2304
Comparison CurrentRow.Username == CurrentSubmission.user_id may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L5050
Comparison CodeElements\[i\].className == "language-c" 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#L2436
Comparison RowData.Username == CurrentUsername may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2238
Comparison Green == 170 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1266
Comparison location.pathname == "/" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4568
Comparison Event.keyCode == 13 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3213
Comparison CurrentCode != "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3978
Comparison document.querySelector("#problemstatus \> tbody").children.length == 20 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2353
Comparison a.Penalty != b.Penalty 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#L2978
Comparison location.pathname == "/modifypage.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3618
Comparison Response.indexOf("history.go(-2);") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3200
Comparison Request.status == 200 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L895
Comparison document.querySelector("#profile") != undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4387
Comparison location.pathname == "/discuss3/discuss.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3635
Comparison Response == "UserName or Password Wrong!" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3652
Comparison location.pathname == "/contest_video.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2343
Comparison RankData\[i\].Problem\[k\].SolveTime != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4935
Comparison ResponseData.Success == true may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4095
Comparison location.pathname == "/ceinfo.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2627
Comparison ProblemData == undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L616
Comparison location.host != "www.xmoj.tech" 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#L1902
Comparison Points\[SolutionID\] != undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2296
Comparison EndPosition == 1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2237
Comparison Blue == 238 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4999
Comparison Event.keyCode == 13 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4286
Comparison Data\[i\].FromUser != CurrentUsername may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4963
Comparison Replies\[i\].UserID == CurrentUsername may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4185
Comparison Data\[i\].UnreadCount != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1918
Comparison Std != undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2673
Comparison location.pathname == "/contestrank-correct.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1441
Comparison NewsData\[i\].Time != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4060
Comparison location.pathname == "/showsource.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2119
Comparison ACProblems.indexOf(Number(PID)) == -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3199
Comparison Request.readyState == 4 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2276
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#L3245
Comparison location.pathname == "/userinfo.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L628
Comparison document.querySelector("#profile").innerHTML == "登录" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2242
Comparison Blue == 170 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L762
Comparison document.getElementsByTagName("marquee")\[0\] != 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#L1916
Comparison Element == Number(PID) may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3261
Comparison Temp\[i\].children\[0\].innerText == "Email:" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L468
Comparison document.querySelector("body \> a:nth-child(1)").innerText == "请登录后继续操作" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2677
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#L389
Comparison localStorage.getItem("UserScript-Setting-" + Name) == "true" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2715
Comparison Green == 170 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#L44
Comparison LastJSVersion != NpmVersion may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2729
Comparison ErrorCount != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1976
Comparison CurrentElement\[1\].childNodes\[0\].data.indexOf("开始于") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2343
Comparison j != k may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2721
Comparison Blue == 22 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2343
Comparison RankData\[i\].Problem\[j\].SolveTime != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2198
Comparison location.pathname == "/contestrank-oi.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4466
Comparison Posts.length == 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4828
Comparison ResponseData.Data.ProblemID == 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3709
Comparison document.querySelector("#results \> div") == undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L670
Comparison Temp\[i\].href.indexOf("bootstrap.min.css") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4021
Comparison location.pathname == "/open_contest.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4659
Comparison SearchParams.get("bid") == Data\[i\].BoardID may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4895
Comparison Replies\[i\].UserID == CurrentUsername may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1302
Comparison Data\[i\].Children == undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L628
Comparison location.pathname != "/lostpassword.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4354
Comparison Event.keyCode == 13 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1866
Comparison Rows\[i\].cells\[2\].children.length == 2 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2320
Comparison CurrentRow.Index == CurrentSubmission.num may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L628
Comparison location.pathname != "/loginpage.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4134
Comparison location.pathname == "/mail.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#L3652
Comparison location.pathname == "/problem_video.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L5015
Comparison Items\[i\].type.indexOf("image") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3271
Comparison Temp\[i\].tagName == "A" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2239
Comparison Green == 255 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4113
Comparison location.pathname == "/problem_std.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2941
Comparison Source == "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4040
Comparison NewsData\[i\].Time.getTime() != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4530
Comparison location.pathname == "/discuss3/newpost.php" 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#L5120
Comparison ResponseData.Success == true may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2623
Comparison CurrentRow.Index == j may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2026
Comparison Status.indexOf("Y") != -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4745
Comparison Event.keyCode == 13 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3271
Comparison Temp\[i\].href.indexOf("problem.php?id=") != -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#L2330
Comparison CurrentProblem.SolveTime == 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3502
Comparison location.search == "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4902
Comparison ResponseData.Success == true 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:
Update/UpdateVersion.js#L60
Comparison NpmVersion == LastJSVersion may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4980
Comparison Replies\[i\].EditPerson == Replies\[i\].UserID may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2203
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#L4209
Comparison UsernameData == "" 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#L5139
Comparison ResponseData.Success == true may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3983
Comparison location.pathname == "/problem_solution.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4359
Comparison Content.value == "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2895
Comparison Source.indexOf(IOFilename) == -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L628
Comparison location.pathname != "/login.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3937
Comparison location.pathname == "/problemstatus.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4824
Comparison ResponseData.Data.UserID == CurrentUsername may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2257
Comparison ErrorCount != 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1972
Comparison Time.indexOf("分") == -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2258
Comparison ErrorCount == 15 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3467
Comparison location.pathname == "/conteststatistics.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L4638
Comparison ResponseData.Success == true 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#L1100
Comparison Data.Notes != undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3654
Comparison document.getElementById("J_prismPlayer0").innerHTML != "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1971
Comparison Time.indexOf("小时") == -1 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3494
Comparison CurrentRowChildren\[j\].innerText == "" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2253
Comparison ErrorCount == 5 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1515
Comparison location.pathname == "/problem.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1311
Comparison localStorage.getItem("UserScript-Setting-" + Data\[i\].ID) == "false" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1297
Comparison Data\[i\].Type == "F" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L3012
Comparison Data.Notes != undefined may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2714
Comparison Blue == 238 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#L4678
Comparison location.pathname == "/discuss3/thread.php" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L895
Comparison document.querySelector("#profile").innerHTML == "登录" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2078
Comparison PID.substring(0, 2) == "拓展" may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L1043
Comparison localStorage.getItem("UserScript-Update-LastVersion") != GM_info.script.version 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#L2074
Comparison Temp\[i\].childNodes\[0\].children.length == 0 may cause unexpected type coercion
|
Equality operator may cause type coercion:
XMOJ.user.js#L2059
Comparison Temp2\[j\].children\[i\] != undefined may cause unexpected type coercion
|
Object is 'null' or 'undefined':
XMOJ.user.js#L4386
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#L2886
Variable initializer is redundant
|
Unused assignment:
Update/UpdateToRelease.js#L27
Variable might not have been initialized
|
Unused local symbol:
XMOJ.user.js#L5173
Unused parameter r
|
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#L2779
Unused parameter instance
|
Consecutive spaces:
XMOJ.user.js#L3811
2 consecutive spaces in RegExp
|
qodana
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Expression statement which is not assignment or call:
XMOJ.user.js#L2112
Expression statement is not assignment or call
|
Missing await for an async function call:
XMOJ.user.js#L742
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L1225
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L4184
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L5044
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L2705
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L4854
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L4487
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L2745
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L5070
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L4291
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L3962
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L2435
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L5100
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L2269
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L2228
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L4259
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L4831
Missing await for an async function call
|
Missing await for an async function call:
XMOJ.user.js#L2660
Missing await for an async function call
|
Redundant 'await' expression:
XMOJ.user.js#L5067
Redundant 'await' for a non-promise type
|
Deprecated symbol used:
XMOJ.user.js#L3670
Deprecated symbol used, consult docs for better alternative
|
Deprecated symbol used:
XMOJ.user.js#L4999
Deprecated symbol used, consult docs for better alternative
|
Deprecated symbol used:
XMOJ.user.js#L3672
Deprecated symbol used, consult docs for better alternative
|
Deprecated symbol used:
XMOJ.user.js#L3426
Deprecated symbol used, consult docs for better alternative
|
Deprecated symbol used:
XMOJ.user.js#L1570
Deprecated symbol used, consult docs for better alternative
|
Implicitly declared global JavaScript variable:
XMOJ.user.js#L2842
Variable rPID implicitly declared
|
Implicitly declared global JavaScript variable:
XMOJ.user.js#L1939
Variable clock implicitly declared
|