xmoj-script 1.2.34 → 1.2.36

Sign up to get free protection for your applications and to get access to all the features.
package/Update.json CHANGED
@@ -2124,6 +2124,28 @@
2124
2124
  }
2125
2125
  ],
2126
2126
  "Notes": "No release notes were provided for this release."
2127
+ },
2128
+ "1.2.35": {
2129
+ "UpdateDate": 1723008839982,
2130
+ "Prerelease": true,
2131
+ "UpdateContents": [
2132
+ {
2133
+ "PR": 651,
2134
+ "Description": "prevent RE"
2135
+ }
2136
+ ],
2137
+ "Notes": "No release notes were provided for this release."
2138
+ },
2139
+ "1.2.36": {
2140
+ "UpdateDate": 1723018816861,
2141
+ "Prerelease": true,
2142
+ "UpdateContents": [
2143
+ {
2144
+ "PR": 653,
2145
+ "Description": "Update a number of names"
2146
+ }
2147
+ ],
2148
+ "Notes": "No release notes were provided for this release."
2127
2149
  }
2128
2150
  }
2129
2151
  }
package/XMOJ.user.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // ==UserScript==
2
2
  // @name XMOJ
3
- // @version 1.2.34
3
+ // @version 1.2.36
4
4
  // @description XMOJ增强脚本
5
5
  // @author @XMOJ-Script-dev, @langningchen and the community
6
6
  // @namespace https://github/langningchen
@@ -263,8 +263,10 @@ let GetUsernameHTML = async (Element, Username, Simple = false, Href = "https://
263
263
  HTMLData += `<span class="badge ms-2" style="background-color: ${BadgeInfo.BackgroundColor}; color: ${BadgeInfo.Color}">${BadgeInfo.Content}</span>`;
264
264
  }
265
265
  }
266
- document.getElementById(ID).innerHTML = HTMLData;
267
- document.getElementById(ID).getElementsByTagName("a")[0].appendChild(document.createTextNode(Username));
266
+ if (document.getElementById(ID) !== null) {
267
+ document.getElementById(ID).innerHTML = HTMLData;
268
+ document.getElementById(ID).getElementsByTagName("a")[0].appendChild(document.createTextNode(Username));
269
+ }
268
270
  } catch (e) {
269
271
  console.error(e);
270
272
  if (UtilityEnabled("DebugMode")) {
@@ -2418,19 +2420,24 @@ async function main() {
2418
2420
  "huangkai": "黄开",
2419
2421
  "chenlangning": "陈朗宁",
2420
2422
  "chensiru": "陈斯如",
2423
+ "chensiqi": "陈思齐",
2421
2424
  "chentianle": "陈天乐",
2422
2425
  "chenxuanhe": "陈宣合",
2423
2426
  "chenzecong": "陈泽聪",
2424
2427
  "chenzerui": "陈泽睿",
2425
2428
  "danwenxiao": "单文骁",
2426
2429
  "dongminghui": "董明辉",
2430
+ "dujianping": "杜建平",
2427
2431
  "gaochenming": "高晨茗",
2432
+ "guoluxi": "郭麓羲",
2428
2433
  "guoqingtong": "郭庆桐",
2429
2434
  "guoruiqun": "郭睿群",
2430
2435
  "guyuchen": "顾毓辰",
2436
+ "guzheran": "顾哲然",
2431
2437
  "hanshujian": "韩书简",
2432
2438
  "heshuhan": "贺书瀚",
2433
2439
  "hexinyi": "何昕弈",
2440
+ "huheng":"胡恒",
2434
2441
  "huangmingxuan": "黄铭宣",
2435
2442
  "huangruina": "黄睿纳",
2436
2443
  "huangwei": "黄唯",
@@ -2439,6 +2446,13 @@ async function main() {
2439
2446
  "jingtaiyu": "荆泰宇",
2440
2447
  "jinweizhe": "金炜喆",
2441
2448
  "leijiahan": "雷家涵",
2449
+ "leiwenda": "雷文达",
2450
+ "lidonglin": "李东霖",
2451
+ "lihanzhang": "李含章",
2452
+ "lijiayi": "李佳毅",
2453
+ "limingrui": "李明睿",
2454
+ "lishinong": "李诗浓",
2455
+ "lizhishan": "李执善",
2442
2456
  "lianzhongzhe": "连中哲",
2443
2457
  "liaoyanxu": "廖彦旭",
2444
2458
  "lingzixiang": "凌梓翔",
@@ -2453,12 +2467,15 @@ async function main() {
2453
2467
  "lutianfeng": "陆天枫",
2454
2468
  "luojinyang": "罗金阳",
2455
2469
  "meitianyi": "梅天一",
2470
+ "niruolin": "倪若琳",
2456
2471
  "panyinliang": "潘胤良",
2457
2472
  "pengyixuan": "彭议萱",
2458
2473
  "putong": "蒲通",
2459
2474
  "qianqingyuan": "钱清源",
2460
2475
  "qidekai": "戚得凯",
2476
+ "renzhizhou": "任知周",
2461
2477
  "shanwenxiao": "单文骁",
2478
+ "shenhaoze": "沈昊泽",
2462
2479
  "shenxichen": "沈熙晨",
2463
2480
  "shihongxi": "施泓熙",
2464
2481
  "shimufan": "施慕梵",
@@ -2482,6 +2499,7 @@ async function main() {
2482
2499
  "wanxinlian": "万馨联",
2483
2500
  "wensiyi": "闻思奕",
2484
2501
  "wujinhong": "吴锦鸿",
2502
+ "wuruitong": "吴瑞桐",
2485
2503
  "wurunze": "吴润泽",
2486
2504
  "wuyukai": "巫昱恺",
2487
2505
  "xiangjicheng": "项际诚",
@@ -2501,7 +2519,9 @@ async function main() {
2501
2519
  "yezijiong": "叶梓炅",
2502
2520
  "youzhouhang": "尤周杭",
2503
2521
  "yuanruiqing": "袁瑞擎",
2522
+ "yuanyueyang": "袁悦洋",
2504
2523
  "yutingjun": "于庭郡",
2524
+ "yuqiuning": "余秋凝",
2505
2525
  "zhangchenming": "张宸铭",
2506
2526
  "zhangqiuze": "张秋泽",
2507
2527
  "zhangshuxuan": "张澍萱",
@@ -2512,6 +2532,7 @@ async function main() {
2512
2532
  "zhaochenwei": "赵晨伟",
2513
2533
  "zhengyinan": "郑逸楠",
2514
2534
  "zhonghongyi": "钟弘毅",
2535
+ "zhouyiqing": "周意清",
2515
2536
  "zhoujunyu": "周峻瑜",
2516
2537
  "zhouziyi": "周子逸",
2517
2538
  "zhouziyou": "周子游",
@@ -2524,6 +2545,8 @@ async function main() {
2524
2545
  "zhuyiyang": "朱奕阳",
2525
2546
  "hanjialin": "韩佳霖",
2526
2547
  "zhaozichen": "赵紫辰",
2548
+ "zhuochengjie": "卓成杰",
2549
+ "zhouhaiyang": "周海洋",
2527
2550
  "zhuaiwei": "朱艾薇",
2528
2551
  "linlitong": "林立桐",
2529
2552
  "xuyan": "徐衍",
@@ -5021,4 +5044,4 @@ int main()
5021
5044
  }
5022
5045
  }
5023
5046
 
5024
- main();
5047
+ main();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xmoj-script",
3
- "version": "1.2.34",
3
+ "version": "1.2.36",
4
4
  "description": "an improvement script for xmoj.tech",
5
5
  "main": "AddonScript.js",
6
6
  "scripts": {