xmoj-script 1.2.61 → 1.2.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Update.json CHANGED
@@ -2521,6 +2521,28 @@
2521
2521
  }
2522
2522
  ],
2523
2523
  "Notes": "No release notes were provided for this release."
2524
+ },
2525
+ "1.2.62": {
2526
+ "UpdateDate": 1726406228773,
2527
+ "Prerelease": true,
2528
+ "UpdateContents": [
2529
+ {
2530
+ "PR": 729,
2531
+ "Description": "add chenyiming5"
2532
+ }
2533
+ ],
2534
+ "Notes": "No release notes were provided for this release."
2535
+ },
2536
+ "1.2.63": {
2537
+ "UpdateDate": 1727743018230,
2538
+ "Prerelease": true,
2539
+ "UpdateContents": [
2540
+ {
2541
+ "PR": 731,
2542
+ "Description": "a quick fix for mathjax"
2543
+ }
2544
+ ],
2545
+ "Notes": "No release notes were provided for this release."
2524
2546
  }
2525
2547
  }
2526
2548
  }
package/XMOJ.user.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // ==UserScript==
2
2
  // @name XMOJ
3
- // @version 1.2.61
3
+ // @version 1.2.63
4
4
  // @description XMOJ增强脚本
5
5
  // @author @XMOJ-Script-dev, @langningchen and the community
6
6
  // @namespace https://github/langningchen
@@ -1503,6 +1503,7 @@ async function main() {
1503
1503
  localStorage.setItem("UserScript-Problem-" + Temp[i].children[1].innerText + "-Name", Temp[i].children[2].innerText);
1504
1504
  }
1505
1505
  } else if (location.pathname == "/problem.php") {
1506
+ RenderMathJax();
1506
1507
  if (SearchParams.get("cid") != null) {
1507
1508
  document.getElementsByTagName("h2")[0].innerHTML += " (" + localStorage.getItem("UserScript-Contest-" + SearchParams.get("cid") + "-Problem-" + SearchParams.get("pid") + "-PID") + ")";
1508
1509
  }
@@ -2435,12 +2436,12 @@ async function main() {
2435
2436
  NicknameCell.innerText = (RowData.Nickname.length < 16 ? RowData.Nickname : RowData.Nickname.substring(0, 15) + "...");
2436
2437
 
2437
2438
  let Names = {
2438
- "huangkai": "黄开",
2439
2439
  "chenlangning": "陈朗宁",
2440
2440
  "chensiru": "陈斯如",
2441
2441
  "chensiqi": "陈思齐",
2442
2442
  "chentianle": "陈天乐",
2443
2443
  "chenxuanhe": "陈宣合",
2444
+ "chenyiming5": "陈一铭",
2444
2445
  "chenzecong": "陈泽聪",
2445
2446
  "chenzerui": "陈泽睿",
2446
2447
  "danwenxiao": "单文骁",
@@ -2456,6 +2457,7 @@ async function main() {
2456
2457
  "heshuhan": "贺书瀚",
2457
2458
  "hexinyi": "何昕弈",
2458
2459
  "huheng": "胡恒",
2460
+ "huangkai": "黄开",
2459
2461
  "huangmingxuan": "黄铭宣",
2460
2462
  "huangruina": "黄睿纳",
2461
2463
  "huangwei": "黄唯",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xmoj-script",
3
- "version": "1.2.61",
3
+ "version": "1.2.63",
4
4
  "description": "an improvement script for xmoj.tech",
5
5
  "main": "AddonScript.js",
6
6
  "scripts": {