xmoj-script 1.2.64 → 1.2.67
Sign up to get free protection for your applications and to get access to all the features.
- package/Update.json +49 -0
- package/XMOJ.user.js +6 -6
- package/package.json +1 -1
package/Update.json
CHANGED
@@ -2554,6 +2554,55 @@
|
|
2554
2554
|
}
|
2555
2555
|
],
|
2556
2556
|
"Notes": "No release notes were provided for this release."
|
2557
|
+
},
|
2558
|
+
"1.2.65": {
|
2559
|
+
"UpdateDate": 1727861782766,
|
2560
|
+
"Prerelease": true,
|
2561
|
+
"UpdateContents": [
|
2562
|
+
{
|
2563
|
+
"PR": 737,
|
2564
|
+
"Description": "Add http request headers"
|
2565
|
+
}
|
2566
|
+
],
|
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."
|
2557
2606
|
}
|
2558
2607
|
}
|
2559
2608
|
}
|
package/XMOJ.user.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
// ==UserScript==
|
2
2
|
// @name XMOJ
|
3
|
-
// @version 1.2.
|
3
|
+
// @version 1.2.67
|
4
4
|
// @description XMOJ增强脚本
|
5
5
|
// @author @XMOJ-Script-dev, @langningchen and the community
|
6
6
|
// @namespace https://github/langningchen
|
@@ -417,7 +417,10 @@ let RequestAPI = (Action, Data, CallBack) => {
|
|
417
417
|
url: (UtilityEnabled("SuperDebug") ? "http://127.0.0.1:8787/" : "https://api.xmoj-bbs.me/") + Action,
|
418
418
|
headers: {
|
419
419
|
"Content-Type": "application/json",
|
420
|
-
"Cache-Control": "no-cache"
|
420
|
+
"Cache-Control": "no-cache",
|
421
|
+
"XMOJ-UserID": CurrentUsername,
|
422
|
+
"XMOJ-Script-Version": GM_info.script.version,
|
423
|
+
"DebugMode": UtilityEnabled("DebugMode")
|
421
424
|
},
|
422
425
|
data: DataString,
|
423
426
|
onload: (Response) => {
|
@@ -1503,7 +1506,7 @@ async function main() {
|
|
1503
1506
|
localStorage.setItem("UserScript-Problem-" + Temp[i].children[1].innerText + "-Name", Temp[i].children[2].innerText);
|
1504
1507
|
}
|
1505
1508
|
} else if (location.pathname == "/problem.php") {
|
1506
|
-
RenderMathJax();
|
1509
|
+
await RenderMathJax();
|
1507
1510
|
if (SearchParams.get("cid") != null) {
|
1508
1511
|
document.getElementsByTagName("h2")[0].innerHTML += " (" + localStorage.getItem("UserScript-Contest-" + SearchParams.get("cid") + "-Problem-" + SearchParams.get("pid") + "-PID") + ")";
|
1509
1512
|
}
|
@@ -2546,7 +2549,6 @@ async function main() {
|
|
2546
2549
|
"xiaweimin": "夏蔚民",
|
2547
2550
|
"xiaxuran": "夏诩然",
|
2548
2551
|
"xiebingxiu": "谢秉修",
|
2549
|
-
"xiebingxiu": "谢秉修",
|
2550
2552
|
"xieliren": "谢立仁",
|
2551
2553
|
"xieruiqi": "谢睿棋",
|
2552
2554
|
"xiongluofei": "熊洛菲",
|
@@ -2582,7 +2584,6 @@ async function main() {
|
|
2582
2584
|
"zhuruichen": "朱睿宸",
|
2583
2585
|
"zhuxule": "朱徐乐",
|
2584
2586
|
"zhuyikun": "朱奕坤",
|
2585
|
-
"leiwenda": "雷文达",
|
2586
2587
|
"wangyuancheng": "王源成",
|
2587
2588
|
"zhuyiyang": "朱奕阳",
|
2588
2589
|
"hanjialin": "韩佳霖",
|
@@ -2594,7 +2595,6 @@ async function main() {
|
|
2594
2595
|
"xuyan": "徐衍",
|
2595
2596
|
"fenghaochen": "冯皓宸",
|
2596
2597
|
"lutianlang": "陆天朗",
|
2597
|
-
"tangyuhan": "唐钰涵",
|
2598
2598
|
"jiangbowen": "姜博闻",
|
2599
2599
|
"shangguanbocheng": "上官伯呈",
|
2600
2600
|
"wangchengqi": "王呈齐",
|