From ca1538ef4440c8cfae1c0c7dfbc38f0d896f81f4 Mon Sep 17 00:00:00 2001 From: boomzero Date: Fri, 7 Feb 2025 20:59:08 +0800 Subject: [PATCH 01/11] fixes #43 --- XMOJ.user.js | 2 +- robots.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/XMOJ.user.js b/XMOJ.user.js index b1be1f7a..11b943d5 100644 --- a/XMOJ.user.js +++ b/XMOJ.user.js @@ -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].PageCount, "_blank"); RequestAPI("ReadBBSMention", { "MentionID": Number(MentionList[i].MentionID) }, () => { diff --git a/robots.txt b/robots.txt index 1ec21142..09c37fed 100644 --- a/robots.txt +++ b/robots.txt @@ -1,2 +1,2 @@ user-agent: * -allow: * +allow: / From 2cab14cd3f2986f33206d5d2f5ecf1c9a8c60265 Mon Sep 17 00:00:00 2001 From: boomzero Date: Fri, 7 Feb 2025 21:01:37 +0800 Subject: [PATCH 02/11] ??? --- robots.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robots.txt b/robots.txt index 09c37fed..1ec21142 100644 --- a/robots.txt +++ b/robots.txt @@ -1,2 +1,2 @@ user-agent: * -allow: / +allow: * From c2ada3c210c8c9351b898fa9bd50a13620287d53 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 7 Feb 2025 13:01:53 +0000 Subject: [PATCH 03/11] 1.2.74 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": { From f021a58bdbc46c8d2f424a4d4ad4c6cb85503892 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 7 Feb 2025 13:01:54 +0000 Subject: [PATCH 04/11] Update version info to 1.2.74 --- Update.json | 11 +++++++++++ XMOJ.user.js | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Update.json b/Update.json index 13f16985..2a169ba5 100644 --- a/Update.json +++ b/Update.json @@ -2681,6 +2681,17 @@ } ], "Notes": "No release notes were provided for this release." + }, + "1.2.74": { + "UpdateDate": 1738933313558, + "Prerelease": true, + "UpdateContents": [ + { + "PR": 762, + "Description": " 讨论回复跳转优化" + } + ], + "Notes": "No release notes were provided for this release." } } } \ No newline at end of file diff --git a/XMOJ.user.js b/XMOJ.user.js index 11b943d5..17f227b7 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 From f793dff41ecc0a78490c92c055ccf6a8291c27a1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 7 Feb 2025 13:02:02 +0000 Subject: [PATCH 05/11] Update time and description of 1.2.74 --- Update.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Update.json b/Update.json index 2a169ba5..01a22317 100644 --- a/Update.json +++ b/Update.json @@ -2683,7 +2683,7 @@ "Notes": "No release notes were provided for this release." }, "1.2.74": { - "UpdateDate": 1738933313558, + "UpdateDate": 1738933321191, "Prerelease": true, "UpdateContents": [ { From f7cad3ac414d7712e77fc778c979bbe11fcf78f3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 7 Feb 2025 13:02:38 +0000 Subject: [PATCH 06/11] Update time and description of 1.2.74 --- Update.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Update.json b/Update.json index 01a22317..5faf1755 100644 --- a/Update.json +++ b/Update.json @@ -2683,7 +2683,7 @@ "Notes": "No release notes were provided for this release." }, "1.2.74": { - "UpdateDate": 1738933321191, + "UpdateDate": 1738933358357, "Prerelease": true, "UpdateContents": [ { From 4b68d52a0f50bdcac35fcfa1d96c3f67b276032e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 7 Feb 2025 13:02:53 +0000 Subject: [PATCH 07/11] Update time and description of 1.2.74 --- Update.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Update.json b/Update.json index 5faf1755..7b4ed9e0 100644 --- a/Update.json +++ b/Update.json @@ -2683,12 +2683,12 @@ "Notes": "No release notes were provided for this release." }, "1.2.74": { - "UpdateDate": 1738933358357, + "UpdateDate": 1738933372979, "Prerelease": true, "UpdateContents": [ { "PR": 762, - "Description": " 讨论回复跳转优化" + "Description": "讨论回复跳转优化" } ], "Notes": "No release notes were provided for this release." From f27e05b2a488a8d70443ac1728b2a1108dfb6a3b Mon Sep 17 00:00:00 2001 From: boomzero Date: Fri, 7 Feb 2025 21:05:51 +0800 Subject: [PATCH 08/11] oops --- XMOJ.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XMOJ.user.js b/XMOJ.user.js index 17f227b7..4f4fef23 100644 --- a/XMOJ.user.js +++ b/XMOJ.user.js @@ -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 + '&page=' + MentionList[i].PageCount, "_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) }, () => { From 4cd067f97e772a138906a00c17e4e5c8f14c1953 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 7 Feb 2025 13:06:42 +0000 Subject: [PATCH 09/11] Update time and description of 1.2.74 --- Update.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Update.json b/Update.json index 7b4ed9e0..7a82b550 100644 --- a/Update.json +++ b/Update.json @@ -2683,7 +2683,7 @@ "Notes": "No release notes were provided for this release." }, "1.2.74": { - "UpdateDate": 1738933372979, + "UpdateDate": 1738933601521, "Prerelease": true, "UpdateContents": [ { From c57d0587c8f70c52d54e79b199379953758c1db5 Mon Sep 17 00:00:00 2001 From: boomzero Date: Fri, 7 Feb 2025 21:07:56 +0800 Subject: [PATCH 10/11] rel notes --- Update.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Update.json b/Update.json index 7a82b550..0c9fa9c5 100644 --- a/Update.json +++ b/Update.json @@ -2691,7 +2691,7 @@ "Description": "讨论回复跳转优化" } ], - "Notes": "No release notes were provided for this release." + "Notes": "This was so hard......" } } } \ No newline at end of file From 5b3bbd3448c85095042c50f3491b8a0141e16fc1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 7 Feb 2025 13:08:43 +0000 Subject: [PATCH 11/11] Update time and description of 1.2.74 --- Update.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Update.json b/Update.json index 0c9fa9c5..6f38f3e8 100644 --- a/Update.json +++ b/Update.json @@ -2683,7 +2683,7 @@ "Notes": "No release notes were provided for this release." }, "1.2.74": { - "UpdateDate": 1738933601521, + "UpdateDate": 1738933722742, "Prerelease": true, "UpdateContents": [ {