From b1160ac514afccb8be602901c4840f165212eeb2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 3 Oct 2026 12:43:42 +0000 Subject: [PATCH 1/2] 3.8.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a4596849..bb93213b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xmoj-script", - "version": "3.7.2", + "version": "3.8.0", "description": "an improvement script for xmoj.tech", "main": "AddonScript.js", "scripts": { From 9533da73c4d3815812004fbdbd31467f1ae038c6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 3 Oct 2026 12:43:43 +0000 Subject: [PATCH 2/2] Update to release 3.8.0 --- Update.json | 15 +++++++++++++++ XMOJ.user.js | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Update.json b/Update.json index 5a93f36b..66797755 100644 --- a/Update.json +++ b/Update.json @@ -3802,6 +3802,21 @@ } ], "Notes": "No release notes were provided for this release." + }, + "3.8.0": { + "UpdateDate": 1791031422062, + "Prerelease": false, + "UpdateContents": [ + { + "PR": 1028, + "Description": "fix: 修复异常页面的 TypeError,并兼容新版 /web/contest 比赛页面" + }, + { + "PR": 1031, + "Description": "fix: preserve problem Markdown and add full-statement copying" + } + ], + "Notes": "

本次正式版整合自 3.7.0 以来的修复,恢复因页面结构变化而异常的脚本功能,并兼容新版比赛页面。旧版比赛入口会转到新版页面;题目与提交状态显示得到修复,页面加载时的闪烁和布局偏移减少。

\n

题目复制支持按章节、样例或完整题面生成 Markdown,并保留公式、代码语言、表格、链接与样例换行,便于直接使用复制结果。

" } } } \ No newline at end of file diff --git a/XMOJ.user.js b/XMOJ.user.js index 47fc2f93..bddb25ba 100644 --- a/XMOJ.user.js +++ b/XMOJ.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name XMOJ -// @version 3.7.2 +// @version 3.8.0 // @description XMOJ增强脚本 // @author @XMOJ-Script-dev, @langningchen and the community // @namespace https://github/langningchen