xmoj-script 1.2.63 → 1.2.65
Sign up to get free protection for your applications and to get access to all the features.
- package/Update.json +22 -0
- package/XMOJ.user.js +28 -3
- package/package.json +1 -1
package/Update.json
CHANGED
@@ -2543,6 +2543,28 @@
|
|
2543
2543
|
}
|
2544
2544
|
],
|
2545
2545
|
"Notes": "No release notes were provided for this release."
|
2546
|
+
},
|
2547
|
+
"1.2.64": {
|
2548
|
+
"UpdateDate": 1727853823983,
|
2549
|
+
"Prerelease": true,
|
2550
|
+
"UpdateContents": [
|
2551
|
+
{
|
2552
|
+
"PR": 735,
|
2553
|
+
"Description": "更新一大批名字"
|
2554
|
+
}
|
2555
|
+
],
|
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."
|
2546
2568
|
}
|
2547
2569
|
}
|
2548
2570
|
}
|
package/XMOJ.user.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
// ==UserScript==
|
2
2
|
// @name XMOJ
|
3
|
-
// @version 1.2.
|
3
|
+
// @version 1.2.65
|
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
|
}
|
@@ -2440,14 +2443,18 @@ async function main() {
|
|
2440
2443
|
"chensiru": "陈斯如",
|
2441
2444
|
"chensiqi": "陈思齐",
|
2442
2445
|
"chentianle": "陈天乐",
|
2446
|
+
"chenxi": "陈曦",
|
2443
2447
|
"chenxuanhe": "陈宣合",
|
2444
2448
|
"chenyiming5": "陈一铭",
|
2445
2449
|
"chenzecong": "陈泽聪",
|
2446
2450
|
"chenzerui": "陈泽睿",
|
2447
2451
|
"danwenxiao": "单文骁",
|
2452
|
+
"dengwanting": "邓万廷",
|
2448
2453
|
"dongminghui": "董明辉",
|
2449
2454
|
"dujianping": "杜建平",
|
2455
|
+
"fanxiaoran": "范小冉",
|
2450
2456
|
"gaochenming": "高晨茗",
|
2457
|
+
"guhongran": "顾泓然",
|
2451
2458
|
"guoluxi": "郭麓羲",
|
2452
2459
|
"guoqingtong": "郭庆桐",
|
2453
2460
|
"guoruiqun": "郭睿群",
|
@@ -2462,10 +2469,12 @@ async function main() {
|
|
2462
2469
|
"huangruina": "黄睿纳",
|
2463
2470
|
"huangwei": "黄唯",
|
2464
2471
|
"huyiyang": "胡以杨",
|
2472
|
+
"hongshaolin": "洪绍霖",
|
2465
2473
|
"jiangxingyu": "姜星宇",
|
2466
2474
|
"jingtaiyu": "荆泰宇",
|
2467
2475
|
"jinweizhe": "金炜喆",
|
2468
2476
|
"leijiahan": "雷家涵",
|
2477
|
+
"leizihao": "雷子昊",
|
2469
2478
|
"leiwenda": "雷文达",
|
2470
2479
|
"lidonglin": "李东霖",
|
2471
2480
|
"lihanzhang": "李含章",
|
@@ -2483,9 +2492,11 @@ async function main() {
|
|
2483
2492
|
"liuxixian": "刘希贤",
|
2484
2493
|
"liuyuxi": "刘雨夕",
|
2485
2494
|
"liyihan": "李亦涵",
|
2495
|
+
"lejingyuan": "乐静远",
|
2486
2496
|
"luhanlin": "陆涵琳",
|
2487
2497
|
"lutianfeng": "陆天枫",
|
2488
2498
|
"luojinyang": "罗金阳",
|
2499
|
+
"lvhouxi": "吕厚希",
|
2489
2500
|
"meitianyi": "梅天一",
|
2490
2501
|
"niruolin": "倪若琳",
|
2491
2502
|
"panyinliang": "潘胤良",
|
@@ -2497,6 +2508,7 @@ async function main() {
|
|
2497
2508
|
"shanwenxiao": "单文骁",
|
2498
2509
|
"shenhaoze": "沈昊泽",
|
2499
2510
|
"shenxichen": "沈熙晨",
|
2511
|
+
"shenzichen": "沈孜晨",
|
2500
2512
|
"shihongxi": "施泓熙",
|
2501
2513
|
"shimufan": "施慕梵",
|
2502
2514
|
"shiyichen": "施奕辰",
|
@@ -2505,21 +2517,29 @@ async function main() {
|
|
2505
2517
|
"suiruochen": "隋若宸",
|
2506
2518
|
"sunyihan": "孙艺涵",
|
2507
2519
|
"sunyimiao": "孙义淼",
|
2520
|
+
"sunyichen2": "孙袆辰",
|
2508
2521
|
"tangchao": "唐潮",
|
2509
2522
|
"tangyuhan": "唐钰涵",
|
2510
2523
|
"tanhaoxuan": "谭皓轩",
|
2524
|
+
"tanghaoran": "汤皓然",
|
2511
2525
|
"taoxianyu": "陶羡榆",
|
2512
2526
|
"wangkangming": "王康明",
|
2527
|
+
"wangmaohua": "王茂骅",
|
2513
2528
|
"wangminghao": "王明浩",
|
2514
2529
|
"wangmingshuo": "王茗铄",
|
2515
2530
|
"wangpengyu": "王芃雨",
|
2516
2531
|
"wangsiyuan3": "王思源",
|
2517
2532
|
"wangtianqi": "王天琦",
|
2518
2533
|
"wangzetong": "王泽通",
|
2534
|
+
"wangjiarui5": "王加睿",
|
2535
|
+
"wangjunzhe": "王俊喆",
|
2519
2536
|
"wanxinlian": "万馨联",
|
2537
|
+
"weilai3": "魏铼",
|
2538
|
+
"weilai4": "魏来",
|
2520
2539
|
"wensiyi": "闻思奕",
|
2521
2540
|
"wujinhong": "吴锦鸿",
|
2522
2541
|
"wuruitong": "吴瑞桐",
|
2542
|
+
"wumingxuan2": "吴明轩",
|
2523
2543
|
"wurunze": "吴润泽",
|
2524
2544
|
"wuyukai": "巫昱恺",
|
2525
2545
|
"xiangjicheng": "项际诚",
|
@@ -2531,11 +2551,15 @@ async function main() {
|
|
2531
2551
|
"xiebingxiu": "谢秉修",
|
2532
2552
|
"xiebingxiu": "谢秉修",
|
2533
2553
|
"xieliren": "谢立仁",
|
2554
|
+
"xieruiqi": "谢睿棋",
|
2555
|
+
"xiongluofei": "熊洛菲",
|
2534
2556
|
"xinyihan": "辛轶涵",
|
2535
2557
|
"xuconghan": "徐从瀚",
|
2536
2558
|
"xukan": "徐衎",
|
2537
2559
|
"xuweiyi": "徐维易",
|
2538
2560
|
"yanghaochen": "杨皓宸",
|
2561
|
+
"yangsining": "杨思凝",
|
2562
|
+
"yangqinyu": "杨钦宇",
|
2539
2563
|
"yezijiong": "叶梓炅",
|
2540
2564
|
"youzhouhang": "尤周杭",
|
2541
2565
|
"yuanruiqing": "袁瑞擎",
|
@@ -2555,6 +2579,7 @@ async function main() {
|
|
2555
2579
|
"zhouyiqing": "周意清",
|
2556
2580
|
"zhoujunyu": "周峻瑜",
|
2557
2581
|
"zhouziyi": "周子逸",
|
2582
|
+
"zhuziruo": "朱子若",
|
2558
2583
|
"zhouziyou": "周子游",
|
2559
2584
|
"zhuchenrui2": "朱晨瑞",
|
2560
2585
|
"zhuruichen": "朱睿宸",
|