diff --git a/Update.json b/Update.json index 56895cbc..0623f008 100644 --- a/Update.json +++ b/Update.json @@ -3944,6 +3944,17 @@ } ], "Notes": "

重大变更:Rating 改用新的计算方式,按解题能力而不是 AC 率计分,所有用户的 Rating 都会变化,不能和旧版的分数直接比较;颜色分档也随之调整,原来的黄色一档改为橙色。

\n

本次正式版修复了截至发布时 GitHub 上所有未关闭的问题。顶栏不再遮挡页面内容(包括启用广告拦截等浏览器过滤规则时),新旧页面的顶栏字体保持一致;账号修改与个人信息页面恢复正常,提交统计图重新显示。

\n

用户 Rating 改为依据解题能力而非 AC 率计算,各页面和深浅色主题使用同一套更易辨认的颜色;比赛排名页面也会显示 Rating 颜色。脚本管理员改为以紫色用户名标识。回放视频页面的进度条不再被当作图片放大。

" + }, + "4.0.1": { + "UpdateDate": 1791268721734, + "Prerelease": true, + "UpdateContents": [ + { + "PR": 1059, + "Description": "Add 'liushangchen' to AdminUserList" + } + ], + "Notes": "Add [liushangchen](https://www.xmoj.tech/userinfo.php?user=liushangchen) to AdminUserList" } } } \ No newline at end of file diff --git a/XMOJ.user.js b/XMOJ.user.js index 35f48096..90a45636 100644 --- a/XMOJ.user.js +++ b/XMOJ.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name XMOJ -// @version 4.0.0 +// @version 4.0.1 // @description XMOJ增强脚本 // @author @XMOJ-Script-dev, @langningchen and the community // @namespace https://github/langningchen @@ -852,7 +852,7 @@ const DefaultOffSettings = ["DebugMode", "SuperDebug", "ReplaceXM"]; // editor randomly fails to load (microsoft/monaco-editor#5015). 0.52.2 ships a single bundle // and is not affected. cdnjs has no fixed release newer than 0.53.0 yet. const MonacoCDN = "https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.52.2/min/vs"; -const AdminUserList = ["zhuchenrui2", "shanwenxiao", "chenlangning", "admin"]; +const AdminUserList = ["zhuchenrui2", "shanwenxiao", "chenlangning", "liushangchen", "admin"]; // Pre-declared so that closures defined before the async init block can reference them let CurrentUsername; diff --git a/package.json b/package.json index e91dae35..2291755b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xmoj-script", - "version": "4.0.0", + "version": "4.0.1", "description": "an improvement script for xmoj.tech", "main": "AddonScript.js", "scripts": {