xmoj-script 1.2.65 → 1.2.68

Sign up to get free protection for your applications and to get access to all the features.
package/Update.json CHANGED
@@ -2565,6 +2565,55 @@
2565
2565
  }
2566
2566
  ],
2567
2567
  "Notes": "No release notes were provided for this release."
2568
+ },
2569
+ "1.2.66": {
2570
+ "UpdateDate": 1727862388829,
2571
+ "Prerelease": false,
2572
+ "UpdateContents": [
2573
+ {
2574
+ "PR": 725,
2575
+ "Description": "Add CP Editor"
2576
+ },
2577
+ {
2578
+ "PR": 729,
2579
+ "Description": "add chenyiming5"
2580
+ },
2581
+ {
2582
+ "PR": 731,
2583
+ "Description": "a quick fix for mathjax"
2584
+ },
2585
+ {
2586
+ "PR": 735,
2587
+ "Description": "更新一大批名字"
2588
+ },
2589
+ {
2590
+ "PR": 737,
2591
+ "Description": "Add http request headers"
2592
+ }
2593
+ ],
2594
+ "Notes": "No release notes were provided for this release."
2595
+ },
2596
+ "1.2.67": {
2597
+ "UpdateDate": 1727873172840,
2598
+ "Prerelease": true,
2599
+ "UpdateContents": [
2600
+ {
2601
+ "PR": 741,
2602
+ "Description": "Fix Duplicate Names (warned by Qoanda)"
2603
+ }
2604
+ ],
2605
+ "Notes": "No release notes were provided for this release."
2606
+ },
2607
+ "1.2.68": {
2608
+ "UpdateDate": 1727926979282,
2609
+ "Prerelease": true,
2610
+ "UpdateContents": [
2611
+ {
2612
+ "PR": 743,
2613
+ "Description": "feat: 优化等待状态的显示"
2614
+ }
2615
+ ],
2616
+ "Notes": "No release notes were provided for this release."
2568
2617
  }
2569
2618
  }
2570
2619
  }
package/XMOJ.user.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // ==UserScript==
2
2
  // @name XMOJ
3
- // @version 1.2.65
3
+ // @version 1.2.68
4
4
  // @description XMOJ增强脚本
5
5
  // @author @XMOJ-Script-dev, @langningchen and the community
6
6
  // @namespace https://github/langningchen
@@ -779,6 +779,9 @@ async function main() {
779
779
  .status_n:hover {
780
780
  box-shadow: #fe4c61 1px 1px 10px 0px !important;
781
781
  }
782
+ .status_w:hover {
783
+ box-shadow: #ffa900 1px 1px 10px 0px !important;
784
+ }
782
785
  .test-case {
783
786
  border-radius: 5px !important;
784
787
  }
@@ -841,14 +844,18 @@ async function main() {
841
844
  }
842
845
 
843
846
  if (UtilityEnabled("ReplaceYN")) {
844
- Temp = document.getElementsByClassName("status_y");
847
+ Temp = document.getElementsByClassName("status_y");//AC
845
848
  for (let i = 0; i < Temp.length; i++) {
846
849
  Temp[i].innerText = "✓";
847
850
  }
848
- Temp = document.getElementsByClassName("status_n");
851
+ Temp = document.getElementsByClassName("status_n");//WA
849
852
  for (let i = 0; i < Temp.length; i++) {
850
853
  Temp[i].innerText = "✗";
851
854
  }
855
+ Temp = document.getElementsByClassName("status_w");//Waiting
856
+ for (let i = 0; i < Temp.length; i++) {
857
+ Temp[i].innerText = "⏳";
858
+ }
852
859
  }
853
860
 
854
861
  Temp = document.getElementsByClassName("page-item");
@@ -1352,7 +1359,7 @@ async function main() {
1352
1359
  }, {
1353
1360
  "ID": "DarkPicture", "Type": "A", "Name": "使用反色的题目图片(需要启用暗色模式)"
1354
1361
  }, {"ID": "AddAnimation", "Type": "A", "Name": "增加动画"}, {
1355
- "ID": "ReplaceYN", "Type": "F", "Name": "题目前对错的Y和N替换为勾和叉"
1362
+ "ID": "ReplaceYN", "Type": "F", "Name": "题目前状态提示替换为好看的图标"
1356
1363
  }, {"ID": "RemoveAlerts", "Type": "D", "Name": "去除多余反复的提示"}, {
1357
1364
  "ID": "Translate", "Type": "F", "Name": "统一使用中文,翻译了部分英文*"
1358
1365
  }, {
@@ -1554,7 +1561,7 @@ async function main() {
1554
1561
  window.location.href = SubmitLink.href;
1555
1562
  console.log(SubmitLink.href);
1556
1563
  };
1557
- Temp = document.querySelectorAll(".sampledata");
1564
+ var Temp = document.querySelectorAll(".sampledata");
1558
1565
  for (var i = 0; i < Temp.length; i++) {
1559
1566
  Temp[i].parentElement.className = "card";
1560
1567
  }
@@ -2549,7 +2556,6 @@ async function main() {
2549
2556
  "xiaweimin": "夏蔚民",
2550
2557
  "xiaxuran": "夏诩然",
2551
2558
  "xiebingxiu": "谢秉修",
2552
- "xiebingxiu": "谢秉修",
2553
2559
  "xieliren": "谢立仁",
2554
2560
  "xieruiqi": "谢睿棋",
2555
2561
  "xiongluofei": "熊洛菲",
@@ -2585,7 +2591,6 @@ async function main() {
2585
2591
  "zhuruichen": "朱睿宸",
2586
2592
  "zhuxule": "朱徐乐",
2587
2593
  "zhuyikun": "朱奕坤",
2588
- "leiwenda": "雷文达",
2589
2594
  "wangyuancheng": "王源成",
2590
2595
  "zhuyiyang": "朱奕阳",
2591
2596
  "hanjialin": "韩佳霖",
@@ -2597,7 +2602,6 @@ async function main() {
2597
2602
  "xuyan": "徐衍",
2598
2603
  "fenghaochen": "冯皓宸",
2599
2604
  "lutianlang": "陆天朗",
2600
- "tangyuhan": "唐钰涵",
2601
2605
  "jiangbowen": "姜博闻",
2602
2606
  "shangguanbocheng": "上官伯呈",
2603
2607
  "wangchengqi": "王呈齐",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xmoj-script",
3
- "version": "1.2.65",
3
+ "version": "1.2.68",
4
4
  "description": "an improvement script for xmoj.tech",
5
5
  "main": "AddonScript.js",
6
6
  "scripts": {