diff --git a/Update.json b/Update.json index 13f16985..6f38f3e8 100644 --- a/Update.json +++ b/Update.json @@ -2681,6 +2681,17 @@ } ], "Notes": "No release notes were provided for this release." + }, + "1.2.74": { + "UpdateDate": 1738933722742, + "Prerelease": true, + "UpdateContents": [ + { + "PR": 762, + "Description": "讨论回复跳转优化" + } + ], + "Notes": "This was so hard......" } } } \ No newline at end of file diff --git a/XMOJ.user.js b/XMOJ.user.js index b1be1f7a..4f4fef23 100644 --- a/XMOJ.user.js +++ b/XMOJ.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name XMOJ -// @version 1.2.73 +// @version 1.2.74 // @description XMOJ增强脚本 // @author @XMOJ-Script-dev, @langningchen and the community // @namespace https://github/langningchen @@ -1199,7 +1199,7 @@ async function main() { ToastViewButton.classList.add("btn", "btn-primary", "btn-sm"); ToastViewButton.innerText = "查看"; ToastViewButton.addEventListener("click", () => { - open("https://www.xmoj.tech/discuss3/thread.php?tid=" + MentionList[i].PostID, "_blank"); + open("https://www.xmoj.tech/discuss3/thread.php?tid=" + MentionList[i].PostID + '&page=' + MentionList[i].PageNumber, "_blank"); RequestAPI("ReadBBSMention", { "MentionID": Number(MentionList[i].MentionID) }, () => { diff --git a/package.json b/package.json index a150a192..197e555e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xmoj-script", - "version": "1.2.73", + "version": "1.2.74", "description": "an improvement script for xmoj.tech", "main": "AddonScript.js", "scripts": {